iconify roster only if it is active, or present it

This commit is contained in:
Yann Leboulanger 2005-02-07 22:07:19 +00:00
parent d31ee5f1f4
commit 54b781ef56

View file

@ -2504,7 +2504,10 @@ class systray:
if self.iconified:
win.deiconify()
else:
win.iconify()
if win.is_active():
win.iconify()
else:
win.present()
else:
account = self.jids[0][0]
jid = self.jids[0][1]