properly open and close processes
[lilass.git] / gui.py
diff --git a/gui.py b/gui.py
index b3929cbed6835543ed23add3663b461d6cc2bc9b..6dabe0f048df2f0e47bc8dfa363a785bcc3266f2 100644 (file)
--- a/gui.py
+++ b/gui.py
@@ -39,7 +39,12 @@ def qtAvailable():
                return False
 
 def zenityAvailable():
-       return True # FIXME
+       try:
+               from dsl import processOutputIt
+               processOutputIt("zenity", "--version")
+               return True
+       except Exception:
+               return False
 
 # actual frontends
 if qtAvailable():