Commit 1d4eb1aa authored by nkour's avatar nkour

we've got a beta tester :P

parent e9e6cf8d
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment