Fixed sorting on people tabs
svn: r1176
This commit is contained in:
parent
853ec44b39
commit
0ef767fd43
@ -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)
|
||||
|
@ -1117,7 +1117,7 @@
|
||||
<property name="show_border">True</property>
|
||||
<property name="tab_pos">GTK_POS_BOTTOM</property>
|
||||
<property name="scrollable">False</property>
|
||||
<property name="tab_hborder">2</property>
|
||||
<property name="tab_hborder">4</property>
|
||||
<property name="tab_vborder">2</property>
|
||||
<property name="enable_popup">False</property>
|
||||
<signal name="switch_page" handler="on_alpha_switch_page" last_modification_time="Sat, 09 Nov 2002 22:11:07 GMT"/>
|
||||
|
Loading…
Reference in New Issue
Block a user