fix #2575 (thanks for the patch)
This commit is contained in:
parent
b5d4bb4a1c
commit
c456312e86
|
@ -1997,7 +1997,10 @@ if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
import gnome.ui
|
import gnome.ui
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print >> sys.stderr, _('Session Management support not available (missing gnome.ui module)')
|
try:
|
||||||
|
print >> sys.stderr, _('Session Management support not available (missing gnome.ui module)')
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
def die_cb(cli):
|
def die_cb(cli):
|
||||||
gtk.main_quit()
|
gtk.main_quit()
|
||||||
|
|
Loading…
Reference in New Issue