aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-05-20 22:30:22 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-05-20 22:30:22 +0800
commitf0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce (patch)
tree4cdd53c48bec17283bd113c6624bc829b0fbe456 /libempathy-gtk
parent24eee4101190f839506f7dfb1df711f25706f184 (diff)
downloadgsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar.gz
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar.bz2
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar.lz
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar.xz
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.tar.zst
gsoc2013-empathy-f0ecc8c4bf28cbd7b9043d1fa933f3d3a3ffc2ce.zip
2007-05-20 Xavier Claessens <xclaesse@gmail.com>
* 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/ git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@83 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/gossip-contact-list-store.c6
1 files changed, 6 insertions, 0 deletions
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);
}