move/resize PiP window (requires new drivers) (and is not yet working properly)
[enigma2.git] / lib / python / Components / EpgList.py
index 5d519f88a913f69e34ecc808a1c0d691b9537b36..10e56ae0b9f925b66df2e39716f86fc104d499a8 100644 (file)
@@ -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: