2007-04-01 Don Allingham <don@gramps-project.org>

* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
This commit is contained in:
Don Allingham
2007-04-01 22:37:10 +00:00
parent a5732076d6
commit 30ce0c5291
13 changed files with 119 additions and 34 deletions

View File

@@ -151,8 +151,9 @@ def wasHistory_broken():
#
#-------------------------------------------------------------------------
def family_name(family,db,noname=_("unknown")):
def family_name(family, db, noname=_("unknown")):
"""Builds a name for the family from the parents names"""
father_handle = family.get_father_handle()
mother_handle = family.get_mother_handle()
father = db.get_person_from_handle(father_handle)
@@ -171,7 +172,7 @@ def family_name(family,db,noname=_("unknown")):
name = noname
return name
def family_upper_name(family,db):
def family_upper_name(family, db):
"""Builds a name for the family from the parents names"""
father_handle = family.get_father_handle()
mother_handle = family.get_mother_handle()
@@ -187,7 +188,6 @@ def family_upper_name(family,db):
name = mother.get_primary_name().get_upper_name()
return name
#-------------------------------------------------------------------------
#
#