GEDCOM gender fix for PAF
svn: r4966
This commit is contained in:
@@ -248,7 +248,9 @@ class MediaView:
|
||||
self.mid.set_text(mobj.get_gramps_id())
|
||||
self.mtype.set_text(type_name)
|
||||
self.mdesc.set_text(mobj.get_description())
|
||||
if len(path) == 0 or fexists == 0:
|
||||
if type_name == _('Note'):
|
||||
self.mpath.set_text('')
|
||||
elif len(path) == 0 or fexists == 0:
|
||||
self.mpath.set_text(_("The file no longer exists"))
|
||||
else:
|
||||
self.mpath.set_text(path)
|
||||
|
||||
@@ -1004,8 +1004,10 @@ class GedcomParser:
|
||||
self.person.set_gender(RelLib.Person.UNKNOWN)
|
||||
elif matches[2][0] == "M":
|
||||
self.person.set_gender(RelLib.Person.MALE)
|
||||
else:
|
||||
elif matches[2][0] == "F":
|
||||
self.person.set_gender(RelLib.Person.FEMALE)
|
||||
else:
|
||||
self.person.set_gender(RelLib.Person.UNKNOWN)
|
||||
elif matches[1] in [ "BAPL", "ENDL", "SLGC" ]:
|
||||
lds_ord = RelLib.LdsOrd()
|
||||
if matches[1] == "BAPL":
|
||||
|
||||
Reference in New Issue
Block a user