aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-05-26 22:10:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-26 22:10:47 +0800
commita0c9dc2f22f510378063be5a8c872bfe8c92bd10 (patch)
tree80cc7378bde7cef34cf618664e79673c7265f54c /libempathy-gtk
parent10530b1f283450d282d03a1141255885ec2a5432 (diff)
downloadgsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar.gz
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar.bz2
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar.lz
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar.xz
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.tar.zst
gsoc2013-empathy-a0c9dc2f22f510378063be5a8c872bfe8c92bd10.zip
Do not highlight contacts already known when creating the contact list. Do
2007-05-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-contact-list-store.c: Do not highlight contacts already known when creating the contact list. * libempathy/empathy-tp-contact-list.c: Do not set alias if DBus returns an error. * libempathy/empathy-idle.c: Do not set status message to "Extended autoaway", let user's message unchanged. svn path=/trunk/; revision=99
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/gossip-contact-list-store.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-contact-list-store.c b/libempathy-gtk/gossip-contact-list-store.c
index c8a43ed5a..f0ff476dd 100644
--- a/libempathy-gtk/gossip-contact-list-store.c
+++ b/libempathy-gtk/gossip-contact-list-store.c
@@ -320,6 +320,7 @@ gossip_contact_list_store_new (EmpathyContactList *list_iface)
GossipContactListStore *store;
GossipContactListStorePriv *priv;
GList *contacts, *l;
+ gboolean show_active;
g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list_iface), NULL);
@@ -339,7 +340,9 @@ gossip_contact_list_store_new (EmpathyContactList *list_iface)
G_CALLBACK (contact_list_store_contact_removed_cb),
store);
- /* Add contacts already created */
+ /* Add contacts already created. Do not highlight them. */
+ show_active = priv->show_active;
+ priv->show_active = FALSE;
contacts = empathy_contact_list_get_contacts (priv->list);
for (l = contacts; l; l = l->next) {
GossipContact *contact;
@@ -351,6 +354,7 @@ gossip_contact_list_store_new (EmpathyContactList *list_iface)
g_object_unref (contact);
}
g_list_free (contacts);
+ priv->show_active = show_active;
return store;
}