commit back sort (gtk lingo for clickabity on header to sort)

This commit is contained in:
Nikos Kouremenos 2006-02-02 23:57:52 +00:00
parent 65c8646e2e
commit a2e478589f
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class HistoryWindow:
renderer = gtk.CellRendererText()
col.pack_start(renderer)
col.set_attributes(renderer, text = C_CONTACT_NAME)
col.set_sort_column_id(C_CONTACT_NAME) # user can click this header and sort
col.set_resizable(True)
col = gtk.TreeViewColumn(_('Date'))
@ -95,6 +96,7 @@ class HistoryWindow:
renderer = gtk.CellRendererText()
col.pack_start(renderer)
col.set_attributes(renderer, text = C_UNIXTIME)
col.set_sort_column_id(C_UNIXTIME) # user can click this header and sort
col.set_resizable(True)
col = gtk.TreeViewColumn(_('Message'))