Have the gnome "die" signal call gtk.main_quit instead of shutdown
This commit is contained in:
parent
c53af6af33
commit
594bc7cb9f
|
@ -142,7 +142,7 @@ class GtkUI:
|
||||||
try:
|
try:
|
||||||
import gnome.ui
|
import gnome.ui
|
||||||
self.gnome_client = gnome.ui.Client()
|
self.gnome_client = gnome.ui.Client()
|
||||||
self.gnome_client.connect("die", self.shutdown)
|
self.gnome_client.connect("die", gtk.main_quit)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue