aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ServiceInfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/ServiceInfo.py')
-rw-r--r--lib/python/Screens/ServiceInfo.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/python/Screens/ServiceInfo.py b/lib/python/Screens/ServiceInfo.py
index 7738e325..747ee6f5 100644
--- a/lib/python/Screens/ServiceInfo.py
+++ b/lib/python/Screens/ServiceInfo.py
@@ -45,15 +45,12 @@ class ServiceInfoList(HTMLComponent, GUIComponent):
self.l.setList(self.list)
self.l.setFont(0, gFont("Regular", 23))
- def GUIcreate(self, parent):
- self.instance = eListbox(parent)
+ GUI_WIDGET = eListbox
+
+ def postWidgetCreate(self, instance):
self.instance.setContent(self.l)
self.instance.setItemHeight(25)
- def GUIdelete(self):
- self.instance.setContent(None)
- self.instance = None
-
class ServiceInfo(Screen):
def __init__(self, session):
Screen.__init__(self, session)