handle correctly click on sign in/out notif windows. For #2414

This commit is contained in:
Yann Leboulanger 2006-09-26 07:53:49 +00:00
parent 2a73ecc994
commit bcdd4d2315
1 changed files with 2 additions and 1 deletions

View File

@ -1735,7 +1735,8 @@ class Interface:
jid = gajim.get_jid_without_resource(jid) jid = gajim.get_jid_without_resource(jid)
if type_ in ('printed_gc_msg', 'gc_msg'): if type_ in ('printed_gc_msg', 'gc_msg'):
w = self.msg_win_mgr.get_window(jid, account) w = self.msg_win_mgr.get_window(jid, account)
elif type_ in ('printed_chat', 'chat'): elif type_ in ('printed_chat', 'chat', ''):
# '' is for log in/out notifications
if self.msg_win_mgr.has_window(fjid, account): if self.msg_win_mgr.has_window(fjid, account):
w = self.msg_win_mgr.get_window(fjid, account) w = self.msg_win_mgr.get_window(fjid, account)
elif self.msg_win_mgr.has_window(jid, account): elif self.msg_win_mgr.has_window(jid, account):