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