From a2e478589f3cc629c54b409285fc8c850da65ff7 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 2 Feb 2006 23:57:52 +0000 Subject: [PATCH] commit back sort (gtk lingo for clickabity on header to sort) --- src/history_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/history_window.py b/src/history_window.py index 5b4b24a04..e4f4fd9d1 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -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'))