Even if we are using notifications, we still want to see awaiting chats when clicking systray -> show events or left

click
This commit is contained in:
Jean-Marie Traissard 2006-05-04 19:05:41 +00:00
parent 22c0f59a64
commit ab05e38d59
1 changed files with 2 additions and 2 deletions

View File

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