aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-06-08 03:57:29 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2009-06-08 03:59:06 +0800
commitc6b5ba56f7156b911e2292b2b638ebd46577ae99 (patch)
tree1ca250226fe030c894133263aaffa98ebb8ddafd
parent03f13ebc2457e06ea2c90153777c57a4921876a9 (diff)
downloadgsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar.gz
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar.bz2
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar.lz
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar.xz
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.tar.zst
gsoc2013-empathy-c6b5ba56f7156b911e2292b2b638ebd46577ae99.zip
Don't include "Available"/"Away"... in tooltips
I don't think including the default string for a status adds anything to the tooltips.
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index ab3de4092..6d160612d 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -454,9 +454,9 @@ chat_window_update_chat_tab (EmpathyChat *chat)
empathy_contact_get_id (remote_contact),
mc_account_get_display_name (account));
- status = empathy_contact_get_status (remote_contact);
+ status = empathy_contact_get_presence_message (remote_contact);
- if (status) {
+ if (!EMP_STR_EMPTY (status)) {
append_markup_printf (tooltip, "\n%s", status);
}
}