2007-02-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: default Relationship buttons to insenstive. Setting an active person will reenable them. svn: r8053
This commit is contained in:
parent
444a17d41e
commit
5f40a3e48b
@ -1,3 +1,7 @@
|
||||
2007-02-04 Don Allingham <don@gramps-project.org>
|
||||
* src/DataViews/_RelationView.py: default Relationship buttons to insenstive.
|
||||
Setting an active person will reenable them.
|
||||
|
||||
2007-02-03 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user