From f74831dd562b5d945e7c7612f85170d1f7e4a8a4 Mon Sep 17 00:00:00 2001 From: Travis Shirk Date: Thu, 12 Jan 2006 03:19:59 +0000 Subject: [PATCH] Don't show unread messages in window title when notify_on_all_muc_message is False. Closes #1384 --- src/message_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/message_window.py b/src/message_window.py index 97fe5c750..8d9babe28 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -199,10 +199,11 @@ class MessageWindow: control = self.get_active_control() if control.type_id == message_control.TYPE_GC: title = control.room_jid + if gajim.config.get('notify_on_all_muc_messages'): + title = unread_str + title else: - title = control.contact.get_shown_name() + title = unread_str + control.contact.get_shown_name() - title = unread_str + title self.window.set_title(title) if urgent: