* src/FamilyView.py: Handle active person == None
svn: r5668
This commit is contained in:
parent
650260f4a8
commit
fe1d99928a
@ -1,3 +1,6 @@
|
|||||||
|
2006-01-04 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
* src/FamilyView.py: Handle active person == None
|
||||||
|
|
||||||
2006-01-04 Don Allingham <don@gramps-project.org>
|
2006-01-04 Don Allingham <don@gramps-project.org>
|
||||||
* src/FamilyView.py: fix place == None problem
|
* src/FamilyView.py: fix place == None problem
|
||||||
|
|
||||||
|
@ -85,8 +85,11 @@ class FamilyView(PageView.PageView):
|
|||||||
self.child.set_border_width(12)
|
self.child.set_border_width(12)
|
||||||
self.child.set_col_spacings(12)
|
self.child.set_col_spacings(12)
|
||||||
self.child.set_row_spacings(6)
|
self.child.set_row_spacings(6)
|
||||||
|
self.vbox.pack_start(self.child,False)
|
||||||
|
|
||||||
person = self.dbstate.db.get_person_from_handle(obj)
|
person = self.dbstate.db.get_person_from_handle(obj)
|
||||||
|
if not person:
|
||||||
|
return
|
||||||
self.write_title(person)
|
self.write_title(person)
|
||||||
|
|
||||||
family_handle_list = person.get_parent_family_handle_list()
|
family_handle_list = person.get_parent_family_handle_list()
|
||||||
@ -101,8 +104,7 @@ class FamilyView(PageView.PageView):
|
|||||||
self.write_label(_('Family'))
|
self.write_label(_('Family'))
|
||||||
self.write_family(family_handle)
|
self.write_family(family_handle)
|
||||||
|
|
||||||
self.child.show()
|
self.child.show_all()
|
||||||
self.vbox.pack_start(self.child,False)
|
|
||||||
|
|
||||||
def make_button(self,handle,icon,func):
|
def make_button(self,handle,icon,func):
|
||||||
image = gtk.Image()
|
image = gtk.Image()
|
||||||
|
Loading…
Reference in New Issue
Block a user