* src/PluginUtils/_ReportUtils.py: fix set_nick_name
* src/RelLib/_MediaRef.py: handle initialization of Ref object svn: r6568
This commit is contained in:
parent
cf7e13af24
commit
064c8ce061
@ -1,4 +1,6 @@
|
|||||||
2006-05-06 Don Allingham <don@gramps-project.org>
|
2006-05-06 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/PluginUtils/_ReportUtils.py: fix set_nick_name
|
||||||
|
* src/RelLib/_MediaRef.py: handle initialization of Ref object
|
||||||
* src/DataViews/_PersonView.py: handle filter option correctly
|
* src/DataViews/_PersonView.py: handle filter option correctly
|
||||||
* src/DisplayTabs/_SourceEmbedList.py: fix icon
|
* src/DisplayTabs/_SourceEmbedList.py: fix icon
|
||||||
* src/DisplayState.py: add relationship calculator option to statusbar
|
* src/DisplayState.py: add relationship calculator option to statusbar
|
||||||
|
@ -1110,8 +1110,6 @@ def sanitize_person(db,person):
|
|||||||
if name.get_privacy() or person.get_privacy():
|
if name.get_privacy() or person.get_privacy():
|
||||||
name = RelLib.Name()
|
name = RelLib.Name()
|
||||||
name.set_surname(_('Private'))
|
name.set_surname(_('Private'))
|
||||||
else:
|
|
||||||
new_person.set_nick_name(person.get_nick_name())
|
|
||||||
|
|
||||||
new_person.set_primary_name(name)
|
new_person.set_primary_name(name)
|
||||||
# copy Family reference list
|
# copy Family reference list
|
||||||
|
@ -50,7 +50,7 @@ class MediaRef(BaseObject,PrivacyBase,SourceBase,NoteBase,RefBase,
|
|||||||
PrivacyBase.__init__(self,source)
|
PrivacyBase.__init__(self,source)
|
||||||
SourceBase.__init__(self,source)
|
SourceBase.__init__(self,source)
|
||||||
NoteBase.__init__(self,source)
|
NoteBase.__init__(self,source)
|
||||||
RefBase.__init__(self)
|
RefBase.__init__(self,source)
|
||||||
AttributeBase.__init__(self,source)
|
AttributeBase.__init__(self,source)
|
||||||
|
|
||||||
if source:
|
if source:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user