projects
/
lilass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c00241
)
Fix process communication
author
Ralf Jung
<post@ralfj.de>
Wed, 17 Oct 2012 14:11:01 +0000
(16:11 +0200)
committer
Ralf Jung
<post@ralfj.de>
Wed, 17 Oct 2012 14:11:01 +0000
(16:11 +0200)
gui.py
patch
|
blob
|
history
diff --git
a/gui.py
b/gui.py
index 7c9979d86fdf61905b1f601dbb556b2d7c9de1cd..83099e884b0bbd50cef5700fd26f6da5d4902f96 100644
(file)
--- a/
gui.py
+++ b/
gui.py
@@
-33,7
+33,7
@@
def error(message):
if qt_available:
QtGui.QMessageBox.critical(None, 'Fatal error', message)
else:
if qt_available:
QtGui.QMessageBox.critical(None, 'Fatal error', message)
else:
- subprocess.
Popen(["zenity", "--error", "--text="+message], stdout=subprocess.PIPE
)
+ subprocess.
check_call(["zenity", "--error", "--text="+message]
)
def setup(internalResolutions, externalResolutions):
'''Returns a ScreenSetup instance, or None if the user canceled'''
def setup(internalResolutions, externalResolutions):
'''Returns a ScreenSetup instance, or None if the user canceled'''