* src/PlaceView.py: Make sure to add new place after edit
* src/AddMedia.py: unicode conversion from gtk.Entry * src/AddSpouse.py: unicode conversion from gtk.Entry * src/AddrEdit.py: unicode conversion from gtk.Entry * src/AttrEdit.py: unicode conversion from gtk.Entry * src/AutoComp.py: unicode conversion from gtk.Entry * src/ChooseParents.py: unicode conversion from gtk.Entry * src/DateEdit.py: unicode conversion from gtk.Entry * src/EditPerson.py: unicode conversion from gtk.Entry * src/EditPlace.py: unicode conversion from gtk.Entry * src/EditSource.py: unicode conversion from gtk.Entry * src/EventEdit.py: unicode conversion from gtk.Entry * src/Find.py: unicode conversion from gtk.Entry * src/GrampsCfg.py: unicode conversion from gtk.Entry * src/ImageSelect.py: unicode conversion from gtk.Entry * src/LocEdit.py: unicode conversion from gtk.Entry * src/Marriage.py: unicode conversion from gtk.Entry * src/MergeData.py: unicode conversion from gtk.Entry * src/NameEdit.py: unicode conversion from gtk.Entry * src/PeopleView.py: unicode conversion from gtk.Entry * src/Report.py: unicode conversion from gtk.Entry * src/SelectChild.py: unicode conversion from gtk.Entry * src/Sources.py: unicode conversion from gtk.Entry * src/StartupDialog.py: unicode conversion from gtk.Entry * src/StyleEditor.py: unicode conversion from gtk.Entry * src/UrlEdit.py: unicode conversion from gtk.Entry * src/Utils.py: unicode conversion from gtk.Entry * src/VersionControl.py: unicode conversion from gtk.Entry * src/Witness.py: unicode conversion from gtk.Entry svn: r2534
This commit is contained in:
@@ -222,13 +222,13 @@ class SelectChild:
|
||||
|
||||
self.family.addChild(select_child)
|
||||
|
||||
mrel = const.childRelations[self.mrel.get_text()]
|
||||
mrel = const.childRelations[unicode(self.mrel.get_text())]
|
||||
mother = self.family.getMother()
|
||||
if mother and mother.getGender() != RelLib.Person.female:
|
||||
if mrel == "Birth":
|
||||
mrel = "Unknown"
|
||||
|
||||
frel = const.childRelations[self.frel.get_text()]
|
||||
frel = const.childRelations[unicode(self.frel.get_text())]
|
||||
father = self.family.getFather()
|
||||
if father and father.getGender() !=RelLib. Person.male:
|
||||
if frel == "Birth":
|
||||
@@ -352,13 +352,13 @@ class EditRel:
|
||||
self.top.destroy()
|
||||
|
||||
def on_ok_clicked(self,obj):
|
||||
mrel = const.childRelations[self.mentry.get_text()]
|
||||
mrel = const.childRelations[unicode(self.mentry.get_text())]
|
||||
mother = self.family.getMother()
|
||||
if mother and mother.getGender() != RelLib.Person.female:
|
||||
if mrel == "Birth":
|
||||
mrel = "Unknown"
|
||||
|
||||
frel = const.childRelations[self.fentry.get_text()]
|
||||
frel = const.childRelations[unicode(self.fentry.get_text())]
|
||||
father = self.family.getFather()
|
||||
if father and father.getGender() !=RelLib. Person.male:
|
||||
if frel == "Birth":
|
||||
|
||||
Reference in New Issue
Block a user