Fix removing tray on windows after shutdown

This commit is contained in:
Andrew Resch 2008-07-15 00:39:20 +00:00
parent 31bb4eface
commit 2030ba5e84
1 changed files with 2 additions and 0 deletions

View File

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