Close #1205 add free space icon to gtkui

This commit is contained in:
Andrew Resch 2010-03-31 18:15:29 -07:00 committed by Damien Churchill
parent 0d091cdacc
commit d2d9269c87
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class SystemTray(component.Component):
"""Called when the tray icon is left clicked.""" """Called when the tray icon is left clicked."""
self.blink(False) self.blink(False)
if self.window.active(): if self.window.active() or self.window.visible():
self.window.hide() self.window.hide()
else: else:
if self.config["lock_tray"]: if self.config["lock_tray"]: