aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ChoiceBox.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-02 00:53:47 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-02 00:53:47 +0000
commit4ad28359f1e3090e963e1a8083c34c0940d0514d (patch)
tree7f24b8a2fdde4a9ed2c50549ae2a3fb7f63863c5 /lib/python/Screens/ChoiceBox.py
parent8cbc6c7588b526ea9bfee4de5be4719f3e81017a (diff)
downloadenigma2-4ad28359f1e3090e963e1a8083c34c0940d0514d.tar.gz
enigma2-4ad28359f1e3090e963e1a8083c34c0940d0514d.zip
better resizing
Diffstat (limited to 'lib/python/Screens/ChoiceBox.py')
-rw-r--r--lib/python/Screens/ChoiceBox.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/ChoiceBox.py b/lib/python/Screens/ChoiceBox.py
index 533e78d0..cc6afb1c 100644
--- a/lib/python/Screens/ChoiceBox.py
+++ b/lib/python/Screens/ChoiceBox.py
@@ -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"],
{