From 594bc7cb9fdbcb59a6394172c8881feb05577f63 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 6 Jul 2009 06:50:40 +0000 Subject: [PATCH] Have the gnome "die" signal call gtk.main_quit instead of shutdown --- deluge/ui/gtkui/gtkui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index e25bbb07d..f7e83a9af 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -142,7 +142,7 @@ class GtkUI: try: import gnome.ui self.gnome_client = gnome.ui.Client() - self.gnome_client.connect("die", self.shutdown) + self.gnome_client.connect("die", gtk.main_quit) except: pass