From bc1fbbc939ecbb8cfd4c468ce8c9cbbff100fd21 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sat, 13 Oct 2007 20:16:57 +0000 Subject: [PATCH] 2007-10-13 Benny Malengier * src/PageView.py: define_actions called twice, gives warning in new gtk, remove. svn: r9174 --- ChangeLog | 3 +++ src/PageView.py | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d70ad9c3b..7d8995aa2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-13 Benny Malengier + * src/PageView.py: define_actions called twice, gives warning in new gtk, remove. + 2007-10-13 Stephane Charette * src/plugins/rel_pt.py: new file (Portuguese), contributed by Duarte Loreto diff --git a/src/PageView.py b/src/PageView.py index 3e57d8a42..0ea9c82d7 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -152,7 +152,8 @@ class PageView: def get_actions(self): if not self.action_group: - self.define_actions() + #define actions happened in viewmanager + #self.define_actions() self._build_action_group() return [self.action_group] + self.additional_action_groups @@ -324,7 +325,7 @@ class PersonNavView(BookMarkView): handled correctly. """ BookMarkView.enable_action_group(self,obj) - + self.fwd_action.set_visible(True) self.back_action.set_visible(True) hobj = self.uistate.phistory