* src/AttrEdit.py: proper type selector support.
* src/AutoComp.py (by_value): Use locale-aware sorting. * src/EditPerson.py: Support select button for the event tab. * src/EventEdit.py (EventRefEditor): Editor for both events and event refs. * src/ListBox.py: Support for select button; Proper removal of entries; Proper Event/ref editing support; fixes for combos. * src/NameEdit.py: Typo. * src/edit_person.glade: Add select button to the event tab. * src/gramps.glade: Add new editor for both events and refs. svn: r4796
This commit is contained in:
@ -20,6 +20,13 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import locale
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GNOME modules
|
||||
@ -162,7 +169,7 @@ class StandardCustomSelector:
|
||||
"""
|
||||
fv = self.mapping[f]
|
||||
sv = self.mapping[s]
|
||||
return cmp(fv,sv)
|
||||
return locale.strcoll(fv,sv)
|
||||
|
||||
def get_values(self):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user