* src/DisplayState.py: fix spacing

svn: r6980
This commit is contained in:
Don Allingham 2006-07-02 05:11:47 +00:00
parent 9d57da77ee
commit e719f97ff3
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-07-01 Don Allingham <don@gramps-project.org> 2006-07-01 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: fix spacing
* src/DisplayTabs/_SourceEmbedList.py: check for empty reference * src/DisplayTabs/_SourceEmbedList.py: check for empty reference
before attempting to edit before attempting to edit
* src/GrampsWidgets.py: fix LinkLabel to not try to rebuild * src/GrampsWidgets.py: fix LinkLabel to not try to rebuild

View File

@ -328,7 +328,7 @@ class DisplayState(GrampsDb.GrampsDBCallback):
if person.handle != self.dbstate.db.get_default_handle(): if person.handle != self.dbstate.db.get_default_handle():
msg = self.display_relationship() msg = self.display_relationship()
if msg: if msg:
name = "%s (%s)" % (name,msg) name = "%s (%s)" % (name,msg.strip())
else: else:
name = _("No active person") name = _("No active person")
self.status.push(self.status_id,name) self.status.push(self.status_id,name)