diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 1fce19b08..6f7f0022d 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2007-02-04 Don Allingham + * src/DataViews/_RelationView.py: default Relationship buttons to insenstive. + Setting an active person will reenable them. + 2007-02-03 Brian Matherly * src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin diff --git a/gramps2/src/DataViews/_RelationView.py b/gramps2/src/DataViews/_RelationView.py index 4a631495c..b8124ae31 100644 --- a/gramps2/src/DataViews/_RelationView.py +++ b/gramps2/src/DataViews/_RelationView.py @@ -333,6 +333,7 @@ class RelationshipView(PageView.PersonNavView): self.show_siblings) self.order_action.set_sensitive(self.reorder_sensitive) + self.family_action.set_sensitive(False) def siblings_toggle(self, obj): self.show_siblings = obj.get_active() @@ -1010,6 +1011,8 @@ class RelationshipView(PageView.PersonNavView): from Editors import EditFamily family = RelLib.Family() person = self.dbstate.active + if not person: + return if person.gender == RelLib.Person.MALE: family.set_father_handle(person.handle)