add language selection to the start-wizard
[vuplus_dvbapp] / lib / python / Screens / LanguageSelection.py
index e69de29..ca7f219 100644 (file)
@@ -0,0 +1,25 @@
+from Screen import Screen
+
+from Components.MenuList import MenuList
+from Components.ActionMap import ActionMap
+
+class LanguageSelection(Screen):
+       def __init__(self, session):
+               Screen.__init__(self, session)
+               
+               self.list = []
+               self.list.append(("English", None))
+               self.list.append(("German", None))
+               self["list"] = MenuList(self.list)
+               
+               self["actions"] = ActionMap(["OkCancelActions"], 
+               {
+                       "ok": self.save,
+                       "cancel": self.close
+               })
+               
+       def save(self):
+               pass
+       
+       def run(self):
+               print "select the language here"
\ No newline at end of file