aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MenuList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-15 17:04:38 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-15 17:04:38 +0000
commitda1955116b7e8b8c203e27c7e5994537219a0632 (patch)
tree943c4525f613c1d76592f5716e6a5df43b15398e /lib/python/Components/MenuList.py
parent120489191dacf22ee4f878e6dd4c8dca06a29545 (diff)
downloadenigma2-da1955116b7e8b8c203e27c7e5994537219a0632.tar.gz
enigma2-da1955116b7e8b8c203e27c7e5994537219a0632.zip
fix
Diffstat (limited to 'lib/python/Components/MenuList.py')
-rw-r--r--lib/python/Components/MenuList.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index a7a68727..7fa1ae97 100644
--- a/lib/python/Components/MenuList.py
+++ b/lib/python/Components/MenuList.py
@@ -4,10 +4,10 @@ from GUIComponent import GUIComponent
from enigma import eListboxPythonStringContent, eListbox
class MenuList(HTMLComponent, GUIComponent):
- def __init__(self, list, enableWrapAround=False, content=eListboxPythonStringContent()):
+ def __init__(self, list, enableWrapAround=False, content=eListboxPythonStringContent):
GUIComponent.__init__(self)
self.list = list
- self.l = content
+ self.l = content()
self.l.setList(self.list)
self.onSelectionChanged = [ ]
self.enableWrapAround = enableWrapAround