Don't show unread messages in window title when notify_on_all_muc_message is False. Closes #1384

This commit is contained in:
Travis Shirk 2006-01-12 03:19:59 +00:00
parent efed18a819
commit f74831dd56

View file

@ -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: