From f148620fc2d20820edda480493c85a1ad9a18dd7 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Sat, 30 Dec 2006 21:47:19 +0000 Subject: [PATCH] * src/DataViews/_RelationView.py: removed change_page(): Do not set the toolbar buttons to a possibly wrong state, these are set by _change_person properly. svn: r7859 --- gramps2/ChangeLog | 5 +++++ gramps2/src/DataViews/_RelationView.py | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7742f5d88..8c0030e35 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2006-12-30 Martin Hawlisch + * src/DataViews/_RelationView.py: removed change_page(): Do not set + the toolbar buttons to a possibly wrong state, these are set by + _change_person properly. + 2006-12-30 Don Allingham * src/DataViews/_RelationView.py: Add edit button to view, shorten names of buttons diff --git a/gramps2/src/DataViews/_RelationView.py b/gramps2/src/DataViews/_RelationView.py index 619b80c4c..1dfa920ff 100644 --- a/gramps2/src/DataViews/_RelationView.py +++ b/gramps2/src/DataViews/_RelationView.py @@ -328,10 +328,6 @@ class RelationshipView(PageView.PersonNavView): self.order_action.set_sensitive(self.reorder_sensitive) - def change_page(self): - self.family_action.set_sensitive(not self.dbstate.db.readonly) - self.order_action.set_sensitive(not self.dbstate.db.readonly) - def siblings_toggle(self, obj): self.show_siblings = obj.get_active() self.change_person(self.dbstate.active.handle)