better resizing
[vuplus_dvbapp] / lib / python / Screens / ChoiceBox.py
index 533e78d..cc6afb1 100644 (file)
@@ -9,11 +9,12 @@ from Components.GUIComponent import *
 import os
 
 class ChoiceBox(Screen):
-       def __init__(self, session, title = "", **kwargs):
+       def __init__(self, session, title = "", list = []):
                Screen.__init__(self, session)
 
                self["text"] = Label(title)
-               self["list"] = MenuList(**kwargs)
+               self.list = list
+               self["list"] = MenuList(list)
                                
                self["actions"] = NumberActionMap(["WizardActions", "InputActions"], 
                {