* src/FamilyView.py: Do not pass the window to the ChooseParents class.
* src/WriteXML.py (write_witness): Fix the name string before writing (fixes #847600). svn: r2365
This commit is contained in:
parent
31efc3060b
commit
23eb01d4ef
@ -1,6 +1,9 @@
|
||||
2003-11-23 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/ChooseParents.py (ChooseParents.__init__): Revert the dialog
|
||||
back to being non-modal (otherwise adding new people is impossible).
|
||||
* src/FamilyView.py: Do not pass the window to the ChooseParents class.
|
||||
* src/WriteXML.py (write_witness): Fix the name string before writing
|
||||
(fixes #847600).
|
||||
|
||||
2003-11-21 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/po/fr.po: Fix format line.
|
||||
|
@ -1100,8 +1100,7 @@ class FamilyView:
|
||||
try:
|
||||
ChooseParents.ChooseParents(self.parent.db,person,None,
|
||||
self.load_family,
|
||||
self.parent.full_update,
|
||||
self.parent.topWindow)
|
||||
self.parent.full_update)
|
||||
except:
|
||||
DisplayTrace.DisplayTrace()
|
||||
|
||||
|
@ -402,8 +402,9 @@ class XmlWriter:
|
||||
self.g.write(' %s<comment>%s</comment>\n' % (sp,com))
|
||||
self.g.write('%s</witness>\n' % sp)
|
||||
else:
|
||||
nm = self.fix(w.get_value())
|
||||
self.g.write('%s<witness>\n' % sp)
|
||||
self.g.write(' %s<name>%s</name>\n' % (sp,w.get_value()))
|
||||
self.g.write(' %s<name>%s</name>\n' % (sp,nm))
|
||||
if com:
|
||||
self.g.write(' %s<comment>%s</comment>\n' % (sp,com))
|
||||
self.g.write('%s</witness>\n' % sp)
|
||||
|
Loading…
Reference in New Issue
Block a user