mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-20 07:08:30 +00:00
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…
x
Reference in New Issue
Block a user