mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
tweaks to shutdown
This commit is contained in:
parent
94a159a66f
commit
709b2a04a3
1 changed files with 1 additions and 2 deletions
|
@ -1653,7 +1653,7 @@ want to remove all seeding torrents?")):
|
||||||
self.shutdown()
|
self.shutdown()
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
gtk.gdk.threads_enter()
|
gtk.quit_add(0, self.manager.quit)
|
||||||
self.window.hide()
|
self.window.hide()
|
||||||
self.save_column_widths()
|
self.save_column_widths()
|
||||||
self.save_window_settings()
|
self.save_window_settings()
|
||||||
|
@ -1661,7 +1661,6 @@ want to remove all seeding torrents?")):
|
||||||
self.plugins.shutdown_all_plugins()
|
self.plugins.shutdown_all_plugins()
|
||||||
#for the sake of windows, hide tray_icon
|
#for the sake of windows, hide tray_icon
|
||||||
self.tray_icon.set_visible(False)
|
self.tray_icon.set_visible(False)
|
||||||
self.manager.quit()
|
|
||||||
gtk.main_quit()
|
gtk.main_quit()
|
||||||
|
|
||||||
## For testing purposes, create a copy of the interface
|
## For testing purposes, create a copy of the interface
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue