aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-22 11:08:59 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-22 11:08:59 +0000
commitbfdd918c4fb4208011480a3e5ab3f6a4a9206c63 (patch)
tree257578671ca7ddf071a5180f93c0bb6a5adeba20 /lib/python
parent0923ac50c8dc0d3f77363adb093b6e7e29f030ed (diff)
downloadenigma2-bfdd918c4fb4208011480a3e5ab3f6a4a9206c63.tar.gz
enigma2-bfdd918c4fb4208011480a3e5ab3f6a4a9206c63.zip
fix timeline positions when the mainlist x positions isnt 0
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
index 0edc468a..45a5e218 100644
--- a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
+++ b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
@@ -278,7 +278,8 @@ class EPGList(HTMLComponent, GUIComponent):
self.findBestEvent()
def getEventRect(self):
- return self.event_rect
+ rc = self.event_rect
+ return Rect( rc.left() + (self.instance and self.instance.position().x() or 0), rc.top(), rc.width(), rc.height() )
def getTimeEpoch(self):
return self.time_epoch