Module: deluge Branch: master Commit: e9a922f8299acb297bfc7892568548f3b2eec4a1
Author: Andrew Resch <[email protected]> Date: Wed Mar 31 11:47:54 2010 -0700 Fix #1145 show deluge instead of hiding if it is behind other windows --- deluge/ui/gtkui/systemtray.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index c2b44e3..2ed8967 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"]: -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
