Skip to content
Snippets Groups Projects
Commit 1d4eb1aa authored by nkour's avatar nkour
Browse files

we've got a beta tester :P

parent e9e6cf8d
No related branches found
No related tags found
No related merge requests found
...@@ -175,13 +175,14 @@ class systray: ...@@ -175,13 +175,14 @@ class systray:
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1: if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
if len(self.jids) == 0: if len(self.jids) == 0:
win = self.plugin.roster.window win = self.plugin.roster.window
print 'before', win.is_active()
if win.is_active(): if win.is_active():
win.iconify() win.iconify()
win.skip_taskbar_hint = True win.skip_taskbar_hint = True
else: else:
win.present() win.present()
win.skip_taskbar_hint = False win.skip_taskbar_hint = False
print win.is_active() print 'after', win.is_active()
else: else:
account = self.jids[0][0] account = self.jids[0][0]
jid = self.jids[0][1] jid = self.jids[0][1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment