From e9a922f8299acb297bfc7892568548f3b2eec4a1 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 31 Mar 2010 11:47:54 -0700 Subject: [PATCH] Fix #1145 show deluge instead of hiding if it is behind other windows --- deluge/ui/gtkui/systemtray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index c2b44e333..2ed896782 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -273,7 +273,7 @@ class SystemTray(component.Component): """Called when the tray icon is left clicked.""" self.blink(False) - if self.window.active() or self.window.visible(): + if self.window.active(): self.window.hide() else: if self.config["lock_tray"]: