more ChildRef changes

svn: r6338
This commit is contained in:
Martin Hawlisch 2006-04-13 19:44:35 +00:00
parent deaca6ea3c
commit 9ee7492b07
2 changed files with 4 additions and 3 deletions

View File

@ -10,6 +10,8 @@
* src/plugins/TestcaseGenerator.py: Adapt to changes in RelLib
* src/Utils.py: Adapt to changes in RelLib
* src/ToolTips.py: Adapt to changes in RelLib
2006-04-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: remove bad tab

View File

@ -231,8 +231,8 @@ class FamilyTip:
s +="\n <span weight=\"bold\">%s:</span> %s" % (
_("Mother"),escape(mother.get_primary_name().get_name()))
for chandle in self._obj.get_child_handle_list():
child = self._db.get_person_from_handle(chandle)
for cref in self._obj.get_child_ref_list():
child = self._db.get_person_from_handle(cref.ref)
s +="\n <span weight=\"bold\">%s:</span> %s" % (
_("Child"),escape(child.get_primary_name().get_name()))
@ -246,4 +246,3 @@ CLASS_MAP = {
RelLib.Person : PersonTip,
RelLib.Family : FamilyTip
}