diff --git a/ChangeLog b/ChangeLog index 847325b8a..c54394a83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-14 Benny Malengier + * src/DisplayState.py: actiongroup made double, gives warnings (errors) in newer GTK + * src/PageView.py: remove useless comments + 2007-10-14 Douglas S. Blank * src/plugins/holidays.xml: Added German holidays (from Mirko Leonhaeuser) diff --git a/src/DisplayState.py b/src/DisplayState.py index 96a2529e7..606cee85c 100644 --- a/src/DisplayState.py +++ b/src/DisplayState.py @@ -177,6 +177,7 @@ class RecentDocsMenu: if self.active != DISABLED: self.uimanager.remove_ui(self.active) self.uimanager.remove_action_group(self.action_group) + self.action_group = gtk.ActionGroup('RecentFiles') self.active = DISABLED actions = [] diff --git a/src/PageView.py b/src/PageView.py index 0ea9c82d7..8c683beb8 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -152,8 +152,6 @@ class PageView: def get_actions(self): if not self.action_group: - #define actions happened in viewmanager - #self.define_actions() self._build_action_group() return [self.action_group] + self.additional_action_groups