Fix systemtray from stopping properly when appindicator is enabled

This commit is contained in:
Andrew Resch 2011-06-03 14:53:41 -07:00
parent ce406674ec
commit cebdc89b18

View File

@ -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: