From e23faa0f0e926d3ef9092272faa1dabfd472df0b Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 9 Oct 2004 23:03:09 +0000 Subject: [PATCH] * src/PeopleModel.py: sort top level nodes using locale.strcoll svn: r3614 --- ChangeLog | 3 +++ src/PeopleModel.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5fe3aa96e..a91552353 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-10-09 Don Allingham + * src/PeopleModel.py: sort top level nodes using locale.strcoll + 2004-10-08 Don Allingham * src/GrampsDbBase.py: remove forced upper comparisons * src/EditPerson.py: support for locale selected patronymic diff --git a/src/PeopleModel.py b/src/PeopleModel.py index ea1ed0c7d..9012e8cf8 100644 --- a/src/PeopleModel.py +++ b/src/PeopleModel.py @@ -109,7 +109,7 @@ class PeopleModel(gtk.GenericTreeModel): self.sname_sub[surname] = [person_handle] self.top_path2iter = self.sname_sub.keys() - self.top_path2iter.sort() + self.top_path2iter.sort(locale.strcoll) for name in self.top_path2iter: val = 0 entries = self.sname_sub[name]