X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FMovieList.py;fp=lib%2Fpython%2FComponents%2FMovieList.py;h=970180cd243ec1a685ce8ef2b9dec45c28045424;hb=c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3;hp=3b7e7e3647e3b24a481110fcdb729aedfaa4ea12;hpb=9c5ae5bc6ef248b414e3153538936477cccfdd20;p=vuplus_dvbapp diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 3b7e7e3..970180c 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -63,15 +63,12 @@ class MovieList(HTMLComponent, GUIComponent): l = self.l.getCurrentSelection() return l and l[0] - def GUIcreate(self, parent): - self.instance = eListbox(parent) - self.instance.setContent(self.l) - self.instance.setItemHeight(75) + GUI_WIDGET = eListbox + + def postWidgetCreate(self, instance): + instance.setContent(self.l) + instance.setItemHeight(75) - def GUIdelete(self): - self.instance.setContent(None) - self.instance = None - def reload(self, root = None): if root is not None: self.load(root)