[empathy] Don't include "Available"/"Away"... in tooltips
- From: Will Thompson <wjt src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Don't include "Available"/"Away"... in tooltips
- Date: Mon, 8 Jun 2009 04:42:33 -0400 (EDT)
commit c6b5ba56f7156b911e2292b2b638ebd46577ae99
Author: Will Thompson <will thompson collabora co uk>
Date: Sun Jun 7 20:57:29 2009 +0100
Don't include "Available"/"Away"... in tooltips
I don't think including the default string for a status adds anything to
the tooltips.
---
src/empathy-chat-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index ab3de40..6d16061 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]