From e403541be39943e428b65f8615352eddea7cece8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 11 Dec 2009 14:57:16 +0100 Subject: empathy_icon_name_for_presence: use 'pending' icon if presence is unknown --- libempathy-gtk/empathy-ui-utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 422eb910f..24f22166b 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -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; } -- cgit v1.2.3