]> git.0d.be Git - empathy.git/commitdiff
empathy_icon_name_for_presence: use 'pending' icon if presence is unknown
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 11 Dec 2009 13:57:16 +0000 (14:57 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 31 Mar 2010 08:39:40 +0000 (10:39 +0200)
libempathy-gtk/empathy-ui-utils.c

index 422eb910f3ae69fe0d4b35b1994a96677889b9d1..24f22166b320cdd0a2905eda17732d7b4f4e6a83 100644 (file)
@@ -192,8 +192,9 @@ empathy_icon_name_for_presence (TpConnectionPresenceType presence)
                return EMPATHY_IMAGE_OFFLINE;
        case TP_CONNECTION_PRESENCE_TYPE_OFFLINE:
        case TP_CONNECTION_PRESENCE_TYPE_ERROR:
-       case TP_CONNECTION_PRESENCE_TYPE_UNKNOWN:
                return EMPATHY_IMAGE_OFFLINE;
+       case TP_CONNECTION_PRESENCE_TYPE_UNKNOWN:
+               return EMPATHY_IMAGE_PENDING;
        case TP_CONNECTION_PRESENCE_TYPE_UNSET:
                return NULL;
        }