From ab05e38d59e0e28ed543d33a5964bb74a4e4ca9d Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Thu, 4 May 2006 19:05:41 +0000 Subject: [PATCH] Even if we are using notifications, we still want to see awaiting chats when clicking systray -> show events or left click --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 9a001dbce..cfe0016a7 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2225,8 +2225,6 @@ _('If "%s" accepts this request you will know his or her status.') % jid) self.draw_contact(jid, account) # Redraw parent too self.draw_parent_contact(jid, account) - if gajim.interface.systray_enabled: - gajim.interface.systray.add_jid(fjid, account, kind) self.show_title() # we show the * or [n] if not path: self.add_contact_to_roster(jid, account) @@ -2236,6 +2234,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid) self.tree.expand_row(path[0:2], False) self.tree.scroll_to_cell(path) self.tree.set_cursor(path) + if gajim.interface.systray_enabled: + gajim.interface.systray.add_jid(fjid, account, kind) def on_preferences_menuitem_activate(self, widget): if gajim.interface.instances.has_key('preferences'):