aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-list.c
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/empathy-tp-contact-list.c
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/empathy-tp-contact-list.c')
-rw-r--r--libempathy/empathy-tp-contact-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index 8338e9eb4..64bec75ff 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -1719,11 +1719,11 @@ tp_contact_list_request_aliases_cb (DBusGProxy *proxy,
error->message);
}
- for (name = contact_names; *name; name++) {
+ for (name = contact_names; *name && !error; name++) {
GossipContact *contact;
contact = empathy_tp_contact_list_get_from_handle (data->list,
- data->handles[i]);
+ data->handles[i]);
tp_contact_list_block_contact (data->list, contact);
gossip_contact_set_name (contact, *name);
tp_contact_list_unblock_contact (data->list, contact);