aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/GraphMultiEPG
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-08-04 10:57:17 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-08-04 10:57:17 +0000
commit65f26c0a907126359140d40faa97b293702e9291 (patch)
tree40a27907eef9e4fdb52a9f026301cc020dd35717 /lib/python/Plugins/Extensions/GraphMultiEPG
parent6e70c2c659ca7a037e55a9a332423ed03e4f312b (diff)
downloadenigma2-65f26c0a907126359140d40faa97b293702e9291.tar.gz
enigma2-65f26c0a907126359140d40faa97b293702e9291.zip
reset offset when choose time via menu button
Diffstat (limited to 'lib/python/Plugins/Extensions/GraphMultiEPG')
-rw-r--r--lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
index ac06df7b..24992514 100644
--- a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
+++ b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
@@ -255,6 +255,9 @@ class EPGList(HTMLComponent, GUIComponent):
def getTimeBase(self):
return self.time_base + (self.offs * self.time_epoch * 60)
+ def resetOffset(self):
+ self.offs = 0
+
class TimelineText(HTMLComponent, GUIComponent):
def __init__(self):
GUIComponent.__init__(self)
@@ -389,7 +392,9 @@ class GraphMultiEPG(Screen):
if len(ret) > 1:
if ret[0]:
self.ask_time=ret[1]
- self["list"].fillMultiEPG(self.services, ret[1])
+ l = self["list"]
+ l.resetOffset()
+ l.fillMultiEPG(self.services, ret[1])
self.moveTimeLines(True)
def closeScreen(self):