Change system tray tooltip on disconnect from daemon

This commit is contained in:
Andrew Resch 2009-02-05 00:01:42 +00:00
parent cd493c0f08
commit d7caea5c31

View File

@ -149,6 +149,8 @@ class SystemTray(component.Component):
except Exception, e:
log.debug("Unable to hide system tray menu widgets: %s", e)
self.tray.set_tooltip(_("Deluge\nNot Connected.."))
def shutdown(self):
self.tray.set_visible(False)