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