From eae95626ac53508523f008c1724c954238cf1e08 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 3 May 2006 18:36:35 +0000 Subject: [PATCH] revert & fix typo --- lib/python/Components/EpgList.py | 12 +++++------- 1 file 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: -- 2.30.2