From c067cbe4bdab11d37d525eccf072567f42bf7f01 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 29 Dec 2007 04:52:14 +0000 Subject: [PATCH] tweak import of gnome.ui --- src/interface.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/interface.py b/src/interface.py index 5c265b029..adf960687 100644 --- a/src/interface.py +++ b/src/interface.py @@ -143,11 +143,10 @@ class DelugeGTK: try: import gnome.ui - except: - pass - else: self.client = gnome.ui.Client() self.client.connect("save_yourself", self.manager.quit) + except: + pass signal.signal(signal.SIGINT, self.manager.quit) signal.signal(signal.SIGTERM, self.manager.quit)