aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MenuList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-18 15:18:34 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-18 15:18:34 +0000
commite57b9fbf22d6b448be63b13c792439d1ef0a4a53 (patch)
treec9390d256db4292de012d83a601f4d37e890af48 /lib/python/Components/MenuList.py
parentf4705d1059b2b1b2844e7ed9429a96392c993973 (diff)
downloadenigma2-e57b9fbf22d6b448be63b13c792439d1ef0a4a53.tar.gz
enigma2-e57b9fbf22d6b448be63b13c792439d1ef0a4a53.zip
pre select currently running subservice in subservicelist
Diffstat (limited to 'lib/python/Components/MenuList.py')
-rw-r--r--lib/python/Components/MenuList.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index 4e032d43..b12cb236 100644
--- a/lib/python/Components/MenuList.py
+++ b/lib/python/Components/MenuList.py
@@ -29,4 +29,7 @@ class MenuList(HTMLComponent, GUIComponent):
def setList(self, list):
self.list = list
- self.l.setList(self.list) \ No newline at end of file
+ self.l.setList(self.list)
+
+ def moveToIndex(self, idx):
+ self.instance.moveSelectionTo(idx)