* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.get_name_group_mapping): convert

group as name used as a key back to unicode (bug #389)


svn: r7271
This commit is contained in:
Don Allingham 2006-08-26 18:04:20 +00:00
parent 787a234cc1
commit 13bca83d4c
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-08-26 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.get_name_group_mapping): convert
group as name used as a key back to unicode (bug #389)
* src/Editors/_EditMedia.py (EditMedia.save): don't set path on
a save
* src/Config/_GrampsConfigKeys.py: set toolbar-on to 1 if the gconf

View File

@ -1035,7 +1035,7 @@ class GrampsDbBase(GrampsDBCallback):
"""
Returns the default grouping name for a surname
"""
return self.name_group.get(str(name), name)
return unicode(self.name_group.get(str(name), name))
def get_name_group_keys(self):
"""