aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-05-03 18:36:35 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-05-03 18:36:35 +0000
commiteae95626ac53508523f008c1724c954238cf1e08 (patch)
tree910e5066735cf4f68a1b48156c403bba7d441a1c /lib/python
parentc8599be3a4e4fed4613dae1baf9e213c344ecf18 (diff)
downloadenigma2-eae95626ac53508523f008c1724c954238cf1e08.tar.gz
enigma2-eae95626ac53508523f008c1724c954238cf1e08.zip
revert & fix typo
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/EpgList.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py
index e0f6f902..10e56ae0 100644
--- a/lib/python/Components/EpgList.py
+++ b/lib/python/Components/EpgList.py
@@ -128,14 +128,12 @@ class EPGList(HTMLComponent, GUIComponent):
GUI_WIDGET = eListbox
- def createWidget(self, parent):
- l = eListbox(parent)
- l.setWrapAround(True)
- l.selectionChanged.get().append(self.selectionChanged)
- l.setContent(self.l)
+ def postWidgetCreate(self, instance):
+ instance.setWrapAround(True)
+ instance.selectionChanged.get().append(self.selectionChanged)
+ instance.setContent(self.l)
if SINGLE_CPP > 0:
- l.setItemHeight(25)
- return l
+ instance.setItemHeight(25)
def recalcEntrySize(self):
if SINGLE_CPP == 0: