X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f509eadbf08d0b7e0d5f369e4ed21a20830ab001..d73219bf587818d7648531da574beb45f6e3c000:/lib/python/Components/EpgList.py diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 5d519f88..10e56ae0 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -122,19 +122,18 @@ 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 postWidgetCreate(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 + instance.setItemHeight(25) def recalcEntrySize(self): if SINGLE_CPP == 0: