From: Will Thompson Date: Sun, 7 Jun 2009 19:57:29 +0000 (+0100) Subject: Don't include "Available"/"Away"... in tooltips X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=c6b5ba56f7156b911e2292b2b638ebd46577ae99 Don't include "Available"/"Away"... in tooltips I don't think including the default string for a status adds anything to the tooltips. --- diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index ab3de409..6d160612 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); } }