Tweak 'quit and shutdown daemon'.
This commit is contained in:
parent
85e6c4c76d
commit
31ae3488ba
|
@ -105,7 +105,6 @@ class MainWindow(component.Component):
|
|||
|
||||
def quit(self):
|
||||
del self.config
|
||||
self.hide()
|
||||
gtk.main_quit()
|
||||
|
||||
def load_window_state(self):
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue