mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Tweak 'quit and shutdown daemon'.
This commit is contained in:
parent
85e6c4c76d
commit
31ae3488ba
2 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue