git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c8599be
)
revert & fix typo
author
Felix Domke
<tmbinc@elitedvb.net>
Wed, 3 May 2006 18:36:35 +0000
(18:36 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Wed, 3 May 2006 18:36:35 +0000
(18:36 +0000)
lib/python/Components/EpgList.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/EpgList.py
b/lib/python/Components/EpgList.py
index e0f6f90239cc8a53875700a4f4aa1e66e49d20d3..10e56ae0b9f925b66df2e39716f86fc104d499a8 100644
(file)
--- a/
lib/python/Components/EpgList.py
+++ b/
lib/python/Components/EpgList.py
@@
-128,14
+128,12
@@
class EPGList(HTMLComponent, GUIComponent):
GUI_WIDGET = eListbox
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:
if SINGLE_CPP > 0:
- l.setItemHeight(25)
- return l
+ instance.setItemHeight(25)
def recalcEntrySize(self):
if SINGLE_CPP == 0:
def recalcEntrySize(self):
if SINGLE_CPP == 0: