From 430284954068906c8e2ad3ac4479292f145610c4 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 4 Jul 2006 18:52:17 +0000 Subject: really fix satfinder sync channellist with pip --- lib/python/Screens/ChannelSelection.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/python/Screens/ChannelSelection.py') diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 0870232e..a52fd367 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -1032,6 +1032,20 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect self.lastservice.value = refstr self.lastservice.save() + def setCurrentServicePath(self, path): + hlen = len(self.history) + if hlen > 0: + self.history[self.history_pos] = path + else: + self.history.append(path) + self.setHistoryPath() + + def getCurrentServicePath(self): + hlen = len(self.history) + if hlen > 0: + return self.history[self.history_pos] + return None + def recallPrevService(self): hlen = len(self.history) if hlen > 1: -- cgit v1.2.3