From 2af0a1dd291f4373b61863d0163355c05dc34202 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 27 Feb 2006 21:26:58 +0000 Subject: [PATCH] update urgency hint in function of the correct control, not the active one --- src/chat_control.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index 2177baca8..3cfa7231b 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -394,7 +394,9 @@ class ChatControlBase(MessageControl): gajim.interface.systray.add_jid(jid, self.account, self.type_id) self.parent_win.redraw_tab(self) if not self.parent_win.is_active(): - self.parent_win.show_title(urgent) + ctrl = gajim.interface.msg_win_mgr.get_control(jid, + self.account) + self.parent_win.show_title(urgent, ctrl) def toggle_emoticons(self): '''hide show emoticons_button and make sure emoticons_menu is always there