From cebdc89b1896bb0c960f5862b01d2c7204aba812 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 3 Jun 2011 14:53:41 -0700 Subject: [PATCH] Fix systemtray from stopping properly when appindicator is enabled --- deluge/ui/gtkui/systemtray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index b465c5423..333ab57ed 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -192,7 +192,7 @@ class SystemTray(component.Component): self.__start() def stop(self): - if self.config["enable_system_tray"]: + if self.config["enable_system_tray"] and not self.config["enable_appindicator"]: try: # Hide widgets in hide list because we're not connected to a host for widget in self.hide_widget_list: