diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-01-12 00:32:07 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-01-12 00:32:07 +0100 |
| commit | 32e138da53cdc01960e274fc5f242805198f8aea (patch) | |
| tree | 5325f4f712da1631d986f2746d0c009b1ca0e90d /lib/python/Components | |
| parent | 139531c95ab1bd9ea0da563d43a3d8677b937aa9 (diff) | |
| parent | 15171632716c0734526eefc55e3d0601be177b45 (diff) | |
| download | enigma2-32e138da53cdc01960e274fc5f242805198f8aea.tar.gz enigma2-32e138da53cdc01960e274fc5f242805198f8aea.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git
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: |
