From a09c03dafdc78d87152982f7a8235dce3b3d5fa0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 2 Nov 2007 20:00:58 +0000 Subject: [PATCH] quicker window shutdown --- src/interface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface.py b/src/interface.py index 7fdf61508..b3b3fdaa0 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1584,15 +1584,15 @@ want to remove all seeding torrents?")): self.save_window_settings() self.save_tabs_order() gtk.main_quit() + self.config.set('enabled_plugins', enabled_plugins) + self.config.save() + self.plugins.shutdown_all_plugins() + #for the sake of windows, hide tray_icon for torrent in self.manager.get_queue(): unique_id = self.manager.get_torrent_unique_id(torrent) trackerslist = self.manager.get_trackers(unique_id) self.manager.unique_IDs[unique_id].trackers = trackerslist enabled_plugins = ':'.join(self.plugins.get_enabled_plugins()) - self.config.set('enabled_plugins', enabled_plugins) - self.config.save() - self.plugins.shutdown_all_plugins() - #for the sake of windows, hide tray_icon self.tray_icon.set_visible(False) self.manager.quit()