svn: r2417
This commit is contained in:
Alex Roitman 2003-12-02 01:29:30 +00:00
parent 0b748ead3c
commit 344250abc1
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
2003-12-01 Alex Roitman <shura@alex.neuro.umn.edu> 2003-12-01 Alex Roitman <shura@alex.neuro.umn.edu>
* src/FamilyView.py (add_child_clicked): Return tuple of two * src/FamilyView.py (add_child_clicked): Call self.no_name()
empty strings when the surname guessing is set to None (otherwise when the surname guessing is set to "None" (otherwise it produced
it produced traceback and did nothing). traceback and did nothing).
* doc/gramps-manual/C/custom.xml: Update. * doc/gramps-manual/C/custom.xml: Update.
* doc/gramps-manual/C/gramps-manual-C.omf: Update. * doc/gramps-manual/C/gramps-manual-C.omf: Update.
* doc/gramps.1.in: Update. * doc/gramps.1.in: Update.

View File

@ -599,7 +599,7 @@ class FamilyView:
elif autoname == 3: elif autoname == 3:
name = self.icelandic(0) name = self.icelandic(0)
else: else:
name = ("","") name = self.no_name(0)
person.getPrimaryName().setSurname(name[1]) person.getPrimaryName().setSurname(name[1])
person.getPrimaryName().setSurnamePrefix(name[0]) person.getPrimaryName().setSurnamePrefix(name[0])