Fixed sorting on people tabs

svn: r1176
This commit is contained in:
Don Allingham
2002-11-10 03:34:10 +00:00
parent e526e704e2
commit 7fc698dcfb
2 changed files with 7 additions and 6 deletions

View File

@ -42,13 +42,14 @@ class ListModel:
column.set_resizable(gtk.TRUE)
cnum = cnum + 1
tree.append_column(column)
if cnum == 1:
column.clicked()
cnum = 0
num = 0
for name in dlist:
column = tree.get_column(cnum)
column = tree.get_column(num)
column.set_sort_column_id(name[1])
if num == 0:
column.clicked()
num = num + 1
if select_func:
self.selection.connect('changed',select_func)