Tweak 'quit and shutdown daemon'.

This commit is contained in:
Andrew Resch 2008-02-12 21:26:01 +00:00
parent 85e6c4c76d
commit 31ae3488ba
2 changed files with 1 additions and 2 deletions

View File

@ -105,7 +105,6 @@ class MainWindow(component.Component):
def quit(self):
del self.config
self.hide()
gtk.main_quit()
def load_window_state(self):

View File

@ -156,8 +156,8 @@ class MenuBar(component.Component):
def on_menuitem_quitdaemon_activate(self, data=None):
log.debug("on_menuitem_quitdaemon_activate")
# Tell the core to shutdown
self.window.quit()
client.shutdown()
self.window.quit()
def on_menuitem_quit_activate(self, data=None):
log.debug("on_menuitem_quit_activate")