aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:33:50 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:33:50 +0800
commit131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6 (patch)
tree220f65dbe173abb119e2321141b58ce459106c46 /libempathy-gtk
parent7bef8d38ce0de12f6afb31cfa0f8909fd8490e2d (diff)
downloadgsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar.gz
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar.bz2
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar.lz
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar.xz
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.tar.zst
gsoc2013-empathy-131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6.zip
fix contact list store sorting
svn path=/trunk/; revision=2318
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-selector.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index 8952070d7..f7c42e5ce 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -221,12 +221,8 @@ empathy_contact_selector_constructor (GType type,
GtkCellRenderer *renderer;
g_object_set (priv->store, "is-compact", TRUE, "show-avatars", FALSE,
- "show-offline", FALSE, "sort-criterium", "show-groups", FALSE,
- EMPATHY_CONTACT_LIST_STORE_SORT_NAME, NULL);
- empathy_contact_list_store_set_show_groups (priv->store, FALSE);
-
- gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (priv->store),
- EMPATHY_CONTACT_LIST_STORE_COL_NAME, GTK_SORT_ASCENDING);
+ "show-offline", FALSE, "show-groups", FALSE,
+ "sort-criterium", EMPATHY_CONTACT_LIST_STORE_SORT_NAME, NULL);
g_signal_connect (priv->store, "row-changed",
G_CALLBACK (empathy_store_row_changed_cb), (gpointer) contact_selector);