[empathy] empathy_icon_name_for_presence: use 'pending' icon if presence is unknown



commit e403541be39943e428b65f8615352eddea7cece8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Dec 11 14:57:16 2009 +0100

    empathy_icon_name_for_presence: use 'pending' icon if presence is unknown

 libempathy-gtk/empathy-ui-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 422eb91..24f2216 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;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]