Remove bad tab

svn: r6333
This commit is contained in:
Don Allingham 2006-04-13 18:30:17 +00:00
parent 6e6f9fbfba
commit bce7c49fde
2 changed files with 3 additions and 5 deletions

View File

@ -1,3 +1,6 @@
2006-04-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: remove bad tab
2006-04-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: Upgrade path to new RelLib.
* src/RelLib/_Family.py: Require non-empty child_ref.

View File

@ -467,17 +467,12 @@ class FamilyView(PageView.PersonNavView):
if self.show_siblings:
active = self.dbstate.active.handle
print family.get_child_ref_list()
child_list = [ref.ref for ref in family.get_child_ref_list()\
if ref.ref != active]
print child_list
label = _("Siblings")
if child_list:
for child_handle in child_list:
print child_handle
self.write_child(label, child_handle)
label = u""
self.row += 1