From 17830f2e2d3acb18a4bb3b6982b919d424988ee7 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 --- gramps2/ChangeLog | 3 +++ gramps2/src/PeopleModel.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5fe3aa96e..a91552353 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/PeopleModel.py b/gramps2/src/PeopleModel.py index ea1ed0c7d..9012e8cf8 100644 --- a/gramps2/src/PeopleModel.py +++ b/gramps2/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]