* 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
This commit is contained in:
Martin Hawlisch 2006-12-30 21:47:19 +00:00
parent 7b9dec0fce
commit f148620fc2
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-12-30 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* 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 <don@gramps-project.org> 2006-12-30 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: Add edit button to view, shorten names of * src/DataViews/_RelationView.py: Add edit button to view, shorten names of
buttons buttons

View File

@ -328,10 +328,6 @@ class RelationshipView(PageView.PersonNavView):
self.order_action.set_sensitive(self.reorder_sensitive) 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): def siblings_toggle(self, obj):
self.show_siblings = obj.get_active() self.show_siblings = obj.get_active()
self.change_person(self.dbstate.active.handle) self.change_person(self.dbstate.active.handle)