From: Will Thompson Date: Thu, 6 Sep 2012 00:14:41 +0000 (-0400) Subject: Don't show "Topic: " in tooltips if there is none X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=6be8487c6325e206fa9741d6c91a4c2420169e1b Don't show "Topic: " in tooltips if there is none I think I made this regress when I made Empathy understand the new Subject interface. https://bugzilla.gnome.org/show_bug.cgi?id=683453 --- diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index cc5d2e20..0c01617b 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -964,7 +964,7 @@ chat_window_update_chat_tab_full (EmpathyChat *chat, if (!EMP_STR_EMPTY (status)) append_markup_printf (tooltip, "\n%s", status); - if (subject) + if (!EMP_STR_EMPTY (subject)) append_markup_printf (tooltip, "\n%s %s", _("Topic:"), subject);