diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-08-31 00:49:52 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-08-31 00:49:52 +0800 |
commit | f572bfd5fa085c368695f45512ca9c55df4fb513 (patch) | |
tree | 03ad0e8b2180f5e3d6821fbab6315b33c7baf4d8 /libempathy-gtk/empathy-ui-utils.c | |
parent | b409e047e61e73851a162bb9a903b012469c0ac9 (diff) | |
download | gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar.gz gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar.bz2 gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar.lz gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar.xz gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.tar.zst gsoc2013-empathy-f572bfd5fa085c368695f45512ca9c55df4fb513.zip |
Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug #459540 and bug #462907.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@280 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index fb491cc5e..aedacb08b 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -378,8 +378,7 @@ empathy_icon_name_for_presence (EmpathyPresence *presence) const gchar * empathy_icon_name_for_contact (EmpathyContact *contact) { - EmpathyPresence *presence; - EmpathySubscription subscription; + EmpathyPresence *presence; g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), EMPATHY_IMAGE_OFFLINE); @@ -389,12 +388,7 @@ empathy_icon_name_for_contact (EmpathyContact *contact) return empathy_icon_name_for_presence (presence); } - subscription = empathy_contact_get_subscription (contact); - if (!(subscription & EMPATHY_SUBSCRIPTION_FROM)) { - return EMPATHY_IMAGE_PENDING; - } - - return EMPATHY_IMAGE_OFFLINE; + return EMPATHY_IMAGE_UNKNOWN; } static void |