diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-01-15 13:22:06 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-01-15 13:22:06 +0100 |
| commit | b3135c06dd527e0ed65b6ffa921f830132f7d8b9 (patch) | |
| tree | 53c06d38680d21f366cbb1fc42d17e94b36a109a /lib/python/Components | |
| parent | 2c9a0e18d4ad0b5a73abb5466ea2f70b61daf7fa (diff) | |
| parent | 97909d42012ca026c51d2e7b882ce55eb0acffab (diff) | |
| download | enigma2-b3135c06dd527e0ed65b6ffa921f830132f7d8b9.tar.gz enigma2-b3135c06dd527e0ed65b6ffa921f830132f7d8b9.zip | |
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/EpgList.py | 6 |
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: |
