aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-10 00:36:15 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-10 00:36:15 +0800
commitea2ef0a14e9d64f16e9e1969b50b988de2a05294 (patch)
tree86db78f89b8a6c4947fb84d427fef8f5a558b70d /libempathy-gtk
parent323a62a0b1cf5c9c85f963f68671742c0182130d (diff)
downloadgsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar.gz
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar.bz2
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar.lz
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar.xz
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.tar.zst
gsoc2013-empathy-ea2ef0a14e9d64f16e9e1969b50b988de2a05294.zip
Bump version to 0.8
2007-06-09 Xavier Claessens <xclaesse@gmail.com> * configure.ac: Bump version to 0.8 * libempathy-gtk/gossip-ui-utils.c: Fix usage of contact subscription property. * data/gtalk.profile: * data/jabber.profile: * data/msn.profile: Add VCardField and VCardDefault to profiles for eds-sync support. svn path=/trunk/; revision=139
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/gossip-ui-utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libempathy-gtk/gossip-ui-utils.c b/libempathy-gtk/gossip-ui-utils.c
index f834ceb0c..b17e5776b 100644
--- a/libempathy-gtk/gossip-ui-utils.c
+++ b/libempathy-gtk/gossip-ui-utils.c
@@ -383,15 +383,12 @@ gossip_icon_name_for_contact (GossipContact *contact)
EMPATHY_IMAGE_OFFLINE);
presence = gossip_contact_get_presence (contact);
-
if (presence) {
return gossip_icon_name_for_presence (presence);
}
subscription = gossip_contact_get_subscription (contact);
-
- if (subscription != GOSSIP_SUBSCRIPTION_BOTH &&
- subscription != GOSSIP_SUBSCRIPTION_TO) {
+ if (!(subscription & GOSSIP_SUBSCRIPTION_FROM)) {
return EMPATHY_IMAGE_PENDING;
}