mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +00:00
tweak import of gnome.ui
This commit is contained in:
parent
fb222ce57f
commit
c067cbe4bd
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue