svn: r862
This commit is contained in:
Don Allingham 2002-03-27 04:42:38 +00:00
parent 4c0d544e4f
commit 579aa3e6e1
2 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class AddSpouse:
self.name_list = self.db.getPersonMap().values()
self.name_list.sort(sort.by_last_name)
self.rel_combo.set_popdown_strings(const.familyRelations)
title = _("Choose Spouse/Partner of %s") % GrampsCfg.nameof(person)
self.glade.get_widget("spouseTitle").set_text(title)

View File

@ -1100,6 +1100,7 @@ class Person:
def setMainParents(self,family):
"""sets the main Family of the Person, the Family in which the
Person is a natural born child"""
print family,self.AltFamilyList
assert(family in self.AltFamilyList)
f = self.removeAltFamily(family)
if f: