aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ChannelSelection.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 20:03:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 20:03:35 +0000
commit2b557e7ef4b0518736c5162a501cd9bc743930b3 (patch)
treee9995bb4a94f52f063e0a6dc03c7f59059972245 /lib/python/Screens/ChannelSelection.py
parentbc2f8b7dcdacde72c1f06dcb5bd9672094b17ed5 (diff)
downloadenigma2-2b557e7ef4b0518736c5162a501cd9bc743930b3.tar.gz
enigma2-2b557e7ef4b0518736c5162a501cd9bc743930b3.zip
more changes for service groups (replacement for zapping alternatives
plugin).. now its basicaly working.. TODO: change zapping alternatives editor for new style
Diffstat (limited to 'lib/python/Screens/ChannelSelection.py')
-rw-r--r--lib/python/Screens/ChannelSelection.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 8d728f0c..6a5605c7 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -1043,7 +1043,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
if ref is None or ref != nref:
self.session.nav.playService(nref)
self.saveRoot()
- self.saveChannel()
+ self.saveChannel(nref)
config.servicelist.lastmode.save()
self.addToHistory(nref)
@@ -1086,7 +1086,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
self.setRoot(root)
self.session.nav.playService(ref)
self.setCurrentSelection(ref)
- self.saveChannel()
+ self.saveChannel(ref)
def saveRoot(self):
path = ''
@@ -1123,8 +1123,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
return True
return False
- def saveChannel(self):
- ref = self.session.nav.getCurrentlyPlayingServiceReference()
+ def saveChannel(self, ref):
if ref is not None:
refstr = ref.toString()
else: