From 2030ba5e84d6f0267c76bbdfa4dad4f30410a370 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 15 Jul 2008 00:39:20 +0000 Subject: [PATCH] Fix removing tray on windows after shutdown --- deluge/ui/gtkui/systemtray.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index c9b717c50..b5f11ab0b 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -143,6 +143,8 @@ class SystemTray(component.Component): self.tray_glade.get_widget(widget).hide() except Exception, e: log.debug("Unable to hide system tray menu widgets: %s", e) + + def shutdown(self): self.tray.set_visible(False) def send_status_request(self):