mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 10:05:19 +00:00
Fix systemtray from stopping properly when appindicator is enabled
This commit is contained in:
parent
ce406674ec
commit
cebdc89b18
@ -192,7 +192,7 @@ class SystemTray(component.Component):
|
|||||||
self.__start()
|
self.__start()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
if self.config["enable_system_tray"]:
|
if self.config["enable_system_tray"] and not self.config["enable_appindicator"]:
|
||||||
try:
|
try:
|
||||||
# Hide widgets in hide list because we're not connected to a host
|
# Hide widgets in hide list because we're not connected to a host
|
||||||
for widget in self.hide_widget_list:
|
for widget in self.hide_widget_list:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user