* src/PeopleModel.py: sort top level nodes using locale.strcoll

svn: r3614
This commit is contained in:
Don Allingham 2004-10-09 23:03:09 +00:00
parent 0d4103820e
commit e23faa0f0e
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2004-10-09 Don Allingham <dallingham@users.sourceforge.net>
* src/PeopleModel.py: sort top level nodes using locale.strcoll
2004-10-08 Don Allingham <dallingham@users.sourceforge.net> 2004-10-08 Don Allingham <dallingham@users.sourceforge.net>
* src/GrampsDbBase.py: remove forced upper comparisons * src/GrampsDbBase.py: remove forced upper comparisons
* src/EditPerson.py: support for locale selected patronymic * src/EditPerson.py: support for locale selected patronymic

View File

@ -109,7 +109,7 @@ class PeopleModel(gtk.GenericTreeModel):
self.sname_sub[surname] = [person_handle] self.sname_sub[surname] = [person_handle]
self.top_path2iter = self.sname_sub.keys() self.top_path2iter = self.sname_sub.keys()
self.top_path2iter.sort() self.top_path2iter.sort(locale.strcoll)
for name in self.top_path2iter: for name in self.top_path2iter:
val = 0 val = 0
entries = self.sname_sub[name] entries = self.sname_sub[name]