From 971c7e6f1dbc93fed0065f1b65c6be36555c15be Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 29 Jul 2008 04:22:03 +0000 Subject: [PATCH] Fix deluged running with ssh X forwarding by removing the Gnome lib import --- deluge/core/core.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index ac98487a3..ae2b076e1 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -174,13 +174,6 @@ class Core( pkg_resources.resource_filename( "deluge", "i18n")) # Setup signals - try: - import gnome.ui - self.gnome_client = gnome.ui.Client() - self.gnome_client.connect("die", self._shutdown) - except: - pass - signal.signal(signal.SIGINT, self._shutdown) signal.signal(signal.SIGTERM, self._shutdown) if not deluge.common.windows_check():