Allow multiple sort keys on tree views

svn: r14674
This commit is contained in:
Nick Hall 2010-03-07 17:49:30 +00:00
parent 137bc788c5
commit bf0a1cc434

View File

@ -85,7 +85,7 @@ class Node(object):
def __init__(self, ref, parent, sortkey, handle): def __init__(self, ref, parent, sortkey, handle):
self.name = sortkey self.name = sortkey
if sortkey: if sortkey:
self.sortkey = conv_unicode_tosrtkey_ongtk(sortkey) self.sortkey = map(conv_unicode_tosrtkey_ongtk, sortkey)
else: else:
self.sortkey = None self.sortkey = None
self.ref = ref self.ref = ref