contacts are alphabetically sorted in gc

This commit is contained in:
Yann Leboulanger 2005-05-15 17:36:43 +00:00
parent 44bf5e7422
commit 9cd8304502
1 changed files with 1 additions and 0 deletions

View File

@ -526,6 +526,7 @@ class Groupchat_window(chat.Chat):
#status_image, nickname, real_jid, status
store = gtk.TreeStore(gtk.Image, str, str, str)
store.set_sort_column_id(1, gtk.SORT_ASCENDING)
column = gtk.TreeViewColumn('contacts')
renderer_image = cell_renderer_image.CellRendererImage()
renderer_image.set_property('width', 20)