From 709b2a04a3be24da6968902d8d0e7f8610cbac6f Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 17 Nov 2007 10:29:31 +0000 Subject: [PATCH] tweaks to shutdown --- src/interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interface.py b/src/interface.py index 286dd744d..4522b9610 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1653,7 +1653,7 @@ want to remove all seeding torrents?")): self.shutdown() def shutdown(self): - gtk.gdk.threads_enter() + gtk.quit_add(0, self.manager.quit) self.window.hide() self.save_column_widths() self.save_window_settings() @@ -1661,7 +1661,6 @@ want to remove all seeding torrents?")): self.plugins.shutdown_all_plugins() #for the sake of windows, hide tray_icon self.tray_icon.set_visible(False) - self.manager.quit() gtk.main_quit() ## For testing purposes, create a copy of the interface