allow overriding where we get the xrandr info from
[lilass.git] / zenity_frontend.py
index 7dd4d82dda4f26dfccae46a61609487ed2f67f5f..f6834b54c46cfceeb7d4be41bfaae8efe6978c8e 100644 (file)
@@ -29,7 +29,7 @@ class ZenityFrontend(QuestionFrontend):
 
     def userChoose (self, title, choices, returns, fallback):
         assert len(choices) == len(returns)
 
     def userChoose (self, title, choices, returns, fallback):
         assert len(choices) == len(returns)
-        args = ["zenity", "--list", "--text="+title, "--column="]+choices
+        args = ["zenity", "--list", "--text="+title, "--column="]+list(choices)
         switch = dict (list(zip (choices,returns)))
         try:
             for line in processOutputIt(*args):
         switch = dict (list(zip (choices,returns)))
         try:
             for line in processOutputIt(*args):