* 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:
Benny Malengier
2007-10-14 19:43:21 +00:00
parent a47334f4f2
commit a0abc50536
3 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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 = []

View File

@ -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