aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-11 21:57:16 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-31 16:39:40 +0800
commite403541be39943e428b65f8615352eddea7cece8 (patch)
tree21a3d55a8d57d5151beb6e49bbb914bc3a6d1fc9
parentfc421b1d10d92c197910a8b7ea6fa4ddccb092f4 (diff)
downloadgsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar.gz
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar.bz2
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar.lz
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar.xz
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.tar.zst
gsoc2013-empathy-e403541be39943e428b65f8615352eddea7cece8.zip
empathy_icon_name_for_presence: use 'pending' icon if presence is unknown
-rw-r--r--libempathy-gtk/empathy-ui-utils.c3
1 files changed, 2 insertions, 1 deletions
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;
}