From 90db7e8004325aa5715fd1c2ac15333bccfdefd5 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 20 May 2007 14:30:22 +0000 Subject: Set COL_NAME earlier like that it can directly be sorted. 2007-05-20 Xavier Claessens * libempathy-gtk/gossip-contact-list-store.c: Set COL_NAME earlier like that it can directly be sorted. * data/empathy.schemas.in: s/gossip/empathy/ svn path=/trunk/; revision=83 --- libempathy-gtk/gossip-contact-list-store.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/gossip-contact-list-store.c b/libempathy-gtk/gossip-contact-list-store.c index a2cbae57e..d9ece26bb 100644 --- a/libempathy-gtk/gossip-contact-list-store.c +++ b/libempathy-gtk/gossip-contact-list-store.c @@ -780,7 +780,10 @@ contact_list_store_add_contact (GossipContactListStore *store, if (!groups) { gtk_tree_store_append (GTK_TREE_STORE (store), &iter, NULL); gtk_tree_store_set (GTK_TREE_STORE (store), &iter, + COL_NAME, gossip_contact_get_name (contact), COL_CONTACT, contact, + COL_IS_GROUP, FALSE, + COL_IS_SEPARATOR, FALSE, -1); } @@ -799,7 +802,10 @@ contact_list_store_add_contact (GossipContactListStore *store, gtk_tree_store_insert_after (GTK_TREE_STORE (store), &iter, &iter_group, NULL); gtk_tree_store_set (GTK_TREE_STORE (store), &iter, + COL_NAME, gossip_contact_get_name (contact), COL_CONTACT, contact, + COL_IS_GROUP, FALSE, + COL_IS_SEPARATOR, FALSE, -1); } -- cgit v1.2.3