aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/EpgList.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-01-15 13:22:06 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-01-15 13:22:06 +0100
commitb3135c06dd527e0ed65b6ffa921f830132f7d8b9 (patch)
tree53c06d38680d21f366cbb1fc42d17e94b36a109a /lib/python/Components/EpgList.py
parent2c9a0e18d4ad0b5a73abb5466ea2f70b61daf7fa (diff)
parent97909d42012ca026c51d2e7b882ce55eb0acffab (diff)
downloadenigma2-b3135c06dd527e0ed65b6ffa921f830132f7d8b9.tar.gz
enigma2-b3135c06dd527e0ed65b6ffa921f830132f7d8b9.zip
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/EpgList.py')
-rw-r--r--lib/python/Components/EpgList.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py
index 30f566fd..8a7c8d45 100644
--- a/lib/python/Components/EpgList.py
+++ b/lib/python/Components/EpgList.py
@@ -284,6 +284,12 @@ class EPGList(HTMLComponent, GUIComponent):
x = self.l.getCurrentSelection()
return x and x[1]
+ def moveToService(self,serviceref):
+ for x in range(len(self.list)):
+ if self.list[x][1] == serviceref.toString():
+ self.instance.moveSelectionTo(x)
+ break
+
def moveToEventId(self, eventId):
index = 0
for x in self.list: