[empathy] empathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
- Date: Wed, 31 Mar 2010 08:42:18 +0000 (UTC)
commit fb4dd0e753b8ff6fa717096edcacab43ee2a56f2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Dec 14 12:38:11 2009 +0000
empathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
libempathy/empathy-utils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 7d169ff..cb6716b 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -245,8 +245,9 @@ empathy_presence_get_default_message (TpConnectionPresenceType presence)
return _("Invisible");
case TP_CONNECTION_PRESENCE_TYPE_OFFLINE:
return _("Offline");
- case TP_CONNECTION_PRESENCE_TYPE_UNSET:
case TP_CONNECTION_PRESENCE_TYPE_UNKNOWN:
+ return _("Unknown");
+ case TP_CONNECTION_PRESENCE_TYPE_UNSET:
case TP_CONNECTION_PRESENCE_TYPE_ERROR:
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]