fix #2575 (thanks for the patch)
This commit is contained in:
parent
b5d4bb4a1c
commit
c456312e86
|
@ -1997,7 +1997,10 @@ if __name__ == '__main__':
|
|||
try:
|
||||
import gnome.ui
|
||||
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:
|
||||
def die_cb(cli):
|
||||
gtk.main_quit()
|
||||
|
|
Loading…
Reference in New Issue