X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9c5ae5bc6ef248b414e3153538936477cccfdd20..c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3:/lib/python/Components/EpgList.py diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 5d519f88..cf55d265 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -122,20 +122,19 @@ class EPGList(HTMLComponent, GUIComponent): if x is not None: try: x() - except: + except: # FIXME!!! + print "FIXME in EPGList.selectionChanged" pass - def GUIcreate(self, parent): - self.instance = eListbox(parent) - self.instance.setWrapAround(True) - self.instance.selectionChanged.get().append(self.selectionChanged) - self.instance.setContent(self.l) + GUI_WIDGET = eListbox + + def postCreateWidget(self, instance): + instance.setWrapAround(True) + instance.selectionChanged.get().append(self.selectionChanged) + instance.setContent(self.l) if SINGLE_CPP > 0: self.instance.setItemHeight(25) - def GUIdelete(self): - self.instance = None - def recalcEntrySize(self): if SINGLE_CPP == 0: esize = self.l.getItemSize()