add lcd
[enigma2.git] / lib / python / Components / ServiceList.py
index 7372740..0f71c44 100644 (file)
@@ -32,6 +32,7 @@ class ServiceList(HTMLComponent, GUIComponent):
 
        def setRoot(self, root):
                self.l.setRoot(root)
+               self.l.sort()
                
                # mark stuff
        def clearMarked(self):
@@ -60,6 +61,9 @@ class ServiceList(HTMLComponent, GUIComponent):
 
                return marked
 
+       def setCurrentMarked(self, state):
+               self.l.setCurrentMarked(state)
+
        def setMode(self, mode):
                if mode == self.MODE_NORMAL:
                        self.instance.setItemHeight(20)