tweak import of gnome.ui

This commit is contained in:
Marcos Pinto 2007-12-29 04:52:14 +00:00
parent fb222ce57f
commit c067cbe4bd
1 changed files with 2 additions and 3 deletions

View File

@ -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)