* src/DisplayState.py: include name and relationship on statusbar
svn: r6575
This commit is contained in:
parent
0aaaa45ca1
commit
c024f9f84b
@ -1,4 +1,5 @@
|
||||
2006-05-07 Don Allingham <don@gramps-project.org>
|
||||
* src/DisplayState.py: include name and relationship on statusbar
|
||||
* src/DataViews/_MediaView.py: tool tips
|
||||
* src/DataViews/_RepositoryView.py: tool tips
|
||||
* src/DataViews/_SourceView.py: tool tips
|
||||
|
@ -325,12 +325,14 @@ class DisplayState(GrampsDb.GrampsDBCallback):
|
||||
if self.dbstate.active == None:
|
||||
self.status.push(self.status_id,"")
|
||||
else:
|
||||
if Config.get(Config.STATUSBAR) <= 1:
|
||||
person = self.dbstate.get_active_person()
|
||||
pname = NameDisplay.displayer.display(person)
|
||||
name = "[%s] %s" % (person.get_gramps_id(),pname)
|
||||
else:
|
||||
name = self.display_relationship()
|
||||
if Config.get(Config.STATUSBAR) > 1:
|
||||
if person.handle != self.dbstate.db.get_default_person().handle:
|
||||
msg = self.display_relationship()
|
||||
if msg:
|
||||
name = "%s (%s)" % (name,msg)
|
||||
self.status.push(self.status_id,name)
|
||||
|
||||
while gtk.events_pending():
|
||||
|
Loading…
Reference in New Issue
Block a user