2007-10-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayState.py: actiongroup made double, gives warnings (errors) in newer GTK * src/PageView.py: remove useless comments svn: r9183
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2007-10-14 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
|
* src/DisplayState.py: actiongroup made double, gives warnings (errors) in newer GTK
|
||||||
|
* src/PageView.py: remove useless comments
|
||||||
|
|
||||||
2007-10-14 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
2007-10-14 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
* src/plugins/holidays.xml: Added German holidays (from Mirko Leonhaeuser)
|
* src/plugins/holidays.xml: Added German holidays (from Mirko Leonhaeuser)
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ class RecentDocsMenu:
|
|||||||
if self.active != DISABLED:
|
if self.active != DISABLED:
|
||||||
self.uimanager.remove_ui(self.active)
|
self.uimanager.remove_ui(self.active)
|
||||||
self.uimanager.remove_action_group(self.action_group)
|
self.uimanager.remove_action_group(self.action_group)
|
||||||
|
self.action_group = gtk.ActionGroup('RecentFiles')
|
||||||
self.active = DISABLED
|
self.active = DISABLED
|
||||||
|
|
||||||
actions = []
|
actions = []
|
||||||
|
@ -152,8 +152,6 @@ class PageView:
|
|||||||
|
|
||||||
def get_actions(self):
|
def get_actions(self):
|
||||||
if not self.action_group:
|
if not self.action_group:
|
||||||
#define actions happened in viewmanager
|
|
||||||
#self.define_actions()
|
|
||||||
self._build_action_group()
|
self._build_action_group()
|
||||||
return [self.action_group] + self.additional_action_groups
|
return [self.action_group] + self.additional_action_groups
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user