2007-05-10 Benny Malengier <bm@cage.ugent.be>

Correct error in person name privacy


svn: r8458
This commit is contained in:
Benny Malengier 2007-05-10 21:57:45 +00:00
parent 0b14279856
commit 7b413ad8f6
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
2007-05-09 Benny Malengier <bm@cage.ugent.be>
2007-05-10 Benny Malengier <bm@cage.ugent.be>
* src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family,
media, source, place and repo correct. Still to do: sourceref and lds_ordinance
Correct error in person name privacy
2007-05-10 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_PedigreeView.py: Some rendering fixes for RTL locales

View File

@ -1067,7 +1067,7 @@ class GrampsParser(UpdateCallback):
self.name.set_type(RelLib.NameType.UNKNOWN)
else:
self.name.type.set_from_xml_str(name_type)
self.name.set_private = bool(attrs.get("priv"))
self.name.private = bool(attrs.get("priv"))
self.alt_name = bool(attrs.get("alt"))
try:
sort_as = int(attrs["sort"])