aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-01-24 22:48:05 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-01-24 22:48:05 +0000
commit18d75f10661cbd4b83b2deb49f56ee7c4c2435cf (patch)
tree921d962820a4bb7fd536b041f88f0564e800f425 /lib/python
parent29dda647f09e42ac3a621bbb537558c2d1bbc7b4 (diff)
downloadenigma2-18d75f10661cbd4b83b2deb49f56ee7c4c2435cf.tar.gz
enigma2-18d75f10661cbd4b83b2deb49f56ee7c4c2435cf.zip
bouquet +/- is now working in the channellist
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ChannelSelection.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 43cf66d7..4c8b2486 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -377,6 +377,8 @@ class ChannelSelectionBase(Screen):
"showAllServices": self.showAllServices,
"showProviders": self.showProviders,
"showSatellites": self.showSatellites,
+ "nextBouquet": self.nextBouquet,
+ "prevBouquet": self.prevBouquet,
"1": self.keyNumberGlobal,
"2": self.keyNumberGlobal,
"3": self.keyNumberGlobal,
@@ -591,6 +593,23 @@ class ChannelSelectionBase(Screen):
self.clearPath()
self.enterPath(ref)
+ def changeBouquet(self, direction):
+ if not self.pathChangedDisabled:
+ if self.isBasePathEqual(self.bouquet_root):
+ self.pathUp()
+ if direction < 0:
+ self.moveUp()
+ else:
+ self.moveDown()
+ ref = self.getCurrentSelection()
+ self.enterPath(ref)
+
+ def nextBouquet(self):
+ self.changeBouquet(+1)
+
+ def prevBouquet(self):
+ self.changeBouquet(-1)
+
def showFavourites(self):
if not self.pathChangedDisabled:
if not self.preEnterPath(self.bouquet_rootstr):