Fix deluged running with ssh X forwarding by removing the Gnome lib

import
This commit is contained in:
Andrew Resch 2008-07-29 04:22:03 +00:00
parent 886f0f0495
commit 971c7e6f1d
1 changed files with 0 additions and 7 deletions

View File

@ -174,13 +174,6 @@ class Core(
pkg_resources.resource_filename( pkg_resources.resource_filename(
"deluge", "i18n")) "deluge", "i18n"))
# Setup signals # 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.SIGINT, self._shutdown)
signal.signal(signal.SIGTERM, self._shutdown) signal.signal(signal.SIGTERM, self._shutdown)
if not deluge.common.windows_check(): if not deluge.common.windows_check():