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."""
self.blink(False)
if self.window.active():
if self.window.active() or self.window.visible():
self.window.hide()
else:
if self.config["lock_tray"]: