- fixed dvb scan
[enigma2.git] / components.py
index bd4c068..8015621 100644 (file)
@@ -241,3 +241,19 @@ class MenuList(HTMLComponent, GUIComponent):
        
        def GUIdeleteInstance(self, g):
                g.setContent(None)
+
+class ServiceList(HTMLComponent, GUIComponent):
+       def __init__(self):
+               GUIComponent.__init__(self)
+               self.l = eListboxServiceContent()
+
+       def GUIcreateInstance(self, priv, parent, skindata):
+               g = eListbox(parent)
+               g.setContent(self.l)
+               return g
+       
+       def GUIdeleteInstance(self, g):
+               g.setContent(None)
+
+       def setRoot(self, root):
+               self.l.setRoot(root)