aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-14 20:38:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-31 16:39:41 +0800
commitfb4dd0e753b8ff6fa717096edcacab43ee2a56f2 (patch)
tree6673d98c192cd5c97fbe9e0e2e3732ac4aaf67e1 /libempathy/empathy-utils.c
parente3f34384ba4de2c35bd120f75df167fe2d2d242a (diff)
downloadgsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar.gz
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar.bz2
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar.lz
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar.xz
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.tar.zst
gsoc2013-empathy-fb4dd0e753b8ff6fa717096edcacab43ee2a56f2.zip
empathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 7d169ff94..cb6716bee 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;
}