Fix removing tray on windows after shutdown
This commit is contained in:
parent
31bb4eface
commit
2030ba5e84
|
@ -143,6 +143,8 @@ class SystemTray(component.Component):
|
||||||
self.tray_glade.get_widget(widget).hide()
|
self.tray_glade.get_widget(widget).hide()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("Unable to hide system tray menu widgets: %s", e)
|
log.debug("Unable to hide system tray menu widgets: %s", e)
|
||||||
|
|
||||||
|
def shutdown(self):
|
||||||
self.tray.set_visible(False)
|
self.tray.set_visible(False)
|
||||||
|
|
||||||
def send_status_request(self):
|
def send_status_request(self):
|
||||||
|
|
Loading…
Reference in New Issue