aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ServiceInfo.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-05-01 11:47:04 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-05-01 11:47:04 +0000
commitc0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3 (patch)
tree22d7ac7e4f0aaf3b91574d81ac30fd6a9d97fdb7 /lib/python/Screens/ServiceInfo.py
parent9c5ae5bc6ef248b414e3153538936477cccfdd20 (diff)
downloadenigma2-c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3.tar.gz
enigma2-c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3.zip
simplify GUIcreate/createWidget, fix base class order
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)