From ae9b49b204f501538ebc2056d309c2a71d6cb49e Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 30 Nov 2005 23:17:25 +0000 Subject: [PATCH] add clickability to results column (so you can order too), and add resizability [why not?] --- src/history_window.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/history_window.py b/src/history_window.py index 85a9c6b96..604a551c2 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -73,18 +73,23 @@ 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) + col.set_resizable(True) col = gtk.TreeViewColumn(_('Date')) self.results_treeview.append_column(col) renderer = gtk.CellRendererText() col.pack_start(renderer) col.set_attributes(renderer, text = C_TIME) + col.set_sort_column_id(C_TIME) + col.set_resizable(True) col = gtk.TreeViewColumn(_('Message')) self.results_treeview.append_column(col) renderer = gtk.CellRendererText() col.pack_start(renderer) col.set_attributes(renderer, text = C_MESSAGE) + col.set_resizable(True) if account and gajim.contacts[account].has_key(jid): contact = gajim.get_first_contact_instance_from_jid(account, jid)