From 131e07a1db3f65a444fcb4da2e44f51ca8e3e4b6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:33:50 +0000 Subject: fix contact list store sorting svn path=/trunk/; revision=2318 --- libempathy-gtk/empathy-contact-selector.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libempathy-gtk/empathy-contact-selector.c') 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); -- cgit v1.2.3