From dc60e26c5922dcad16afa55931d2af6ba4f7a3a2 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 13 Jan 2008 05:00:04 +0000 Subject: [PATCH] use die instead of save_yourself and add arg to shutdown func --- src/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface.py b/src/interface.py index 61a436f6e..fcbed92e0 100644 --- a/src/interface.py +++ b/src/interface.py @@ -135,7 +135,7 @@ class DelugeGTK: try: import gnome.ui self.client = gnome.ui.Client() - self.client.connect("save_yourself", self.shutdown) + self.client.connect("die", self.shutdown) except: pass @@ -1739,7 +1739,7 @@ want to remove all seeding torrents?")): else: self.shutdown() - def shutdown(self): + def shutdown(self, arg=None): gtk.quit_add(0, self.manager.quit) self.window.hide() self.save_column_widths()