mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
Fix deluged running with ssh X forwarding by removing the Gnome lib
import
This commit is contained in:
parent
d03d1f1483
commit
537c596e21
2 changed files with 3 additions and 8 deletions
|
@ -1,4 +1,6 @@
|
||||||
Deluge 0.9.05 - "1.0.0_RC5" (In Development)
|
Deluge 0.9.05 - "1.0.0_RC5" (In Development)
|
||||||
|
Core:
|
||||||
|
* Fix deluged running with ssh X forwarding by removing the Gnome lib import
|
||||||
|
|
||||||
Deluge 0.9.04 - "1.0.0_RC4" (29 July 2008)
|
Deluge 0.9.04 - "1.0.0_RC4" (29 July 2008)
|
||||||
Core:
|
Core:
|
||||||
|
|
|
@ -169,13 +169,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():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue