Module: deluge Branch: master Commit: d2d9269c87074986b6dae1a3fbb7a9b0f0aad82b
Author: Andrew Resch <[email protected]> Date: Wed Mar 31 18:15:29 2010 -0700 Close #1205 add free space icon to gtkui --- 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 2ed8967..c2b44e3 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(): + if self.window.active() or self.window.visible(): 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.
