tweak import of gnome.ui
This commit is contained in:
parent
fb222ce57f
commit
c067cbe4bd
|
@ -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…
Reference in New Issue