* src/PluginUtils/_ReportUtils.py: fix set_nick_name

* src/RelLib/_MediaRef.py: handle initialization of Ref object


svn: r6568
This commit is contained in:
Don Allingham 2006-05-07 04:24:23 +00:00
parent cf7e13af24
commit 064c8ce061
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,6 @@
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/DisplayTabs/_SourceEmbedList.py: fix icon
* src/DisplayState.py: add relationship calculator option to statusbar

View File

@ -1110,8 +1110,6 @@ def sanitize_person(db,person):
if name.get_privacy() or person.get_privacy():
name = RelLib.Name()
name.set_surname(_('Private'))
else:
new_person.set_nick_name(person.get_nick_name())
new_person.set_primary_name(name)
# copy Family reference list

View File

@ -50,7 +50,7 @@ class MediaRef(BaseObject,PrivacyBase,SourceBase,NoteBase,RefBase,
PrivacyBase.__init__(self,source)
SourceBase.__init__(self,source)
NoteBase.__init__(self,source)
RefBase.__init__(self)
RefBase.__init__(self,source)
AttributeBase.__init__(self,source)
if source: