Close #1205 add free space icon to gtkui
This commit is contained in:
parent
0d091cdacc
commit
d2d9269c87
|
@ -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"]:
|
||||||
|
|
Loading…
Reference in New Issue