we've got a beta tester :P

This commit is contained in:
Nikos Kouremenos 2005-03-15 17:43:41 +00:00
parent e9e6cf8d71
commit 1d4eb1aadb
1 changed files with 2 additions and 1 deletions

View File

@ -175,13 +175,14 @@ class systray:
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
if len(self.jids) == 0:
win = self.plugin.roster.window
print 'before', win.is_active()
if win.is_active():
win.iconify()
win.skip_taskbar_hint = True
else:
win.present()
win.skip_taskbar_hint = False
print win.is_active()
print 'after', win.is_active()
else:
account = self.jids[0][0]
jid = self.jids[0][1]