aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-10 16:09:39 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-10 16:09:39 +0000
commit4ac58077ff42ee1befee313fe2e185694d8b01b4 (patch)
treef5990da32d5bb082c433e0a269545fabdbddb319 /lib/python
parentfee71ba95208c1e3d1848854b4be1e4499a6fe4e (diff)
downloadenigma2-4ac58077ff42ee1befee313fe2e185694d8b01b4.tar.gz
enigma2-4ac58077ff42ee1befee313fe2e185694d8b01b4.zip
user argument to set current service
extend constructor to take an argument which is then passed to setRoot in EpgSelection
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/EpgSelection.py3
-rw-r--r--lib/python/Screens/InfoBar.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py
index aeab4f03..4391409a 100644
--- a/lib/python/Screens/EpgSelection.py
+++ b/lib/python/Screens/EpgSelection.py
@@ -10,7 +10,7 @@ from Screens.FixedMenu import FixedMenu
import xml.dom.minidom
class EPGSelection(Screen):
- def __init__(self, session):
+ def __init__(self, session, root):
Screen.__init__(self, session)
self["list"] = EPGList()
@@ -26,6 +26,7 @@ class EPGSelection(Screen):
"ok": self.eventSelected,
})
self["actions"].csel = self
+ setRoot(root)
def eventSelected(self):
ref = self["list"].getCurrent()
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py
index 516d44c5..319ecbe4 100644
--- a/lib/python/Screens/InfoBar.py
+++ b/lib/python/Screens/InfoBar.py
@@ -217,7 +217,7 @@ class InfoBar(Screen):
def showEPGList(self):
# TODO hier irgendwie EPGSelection benutzen und setRoot benutzen um nen service zu uebergeben
# self.session.nav.getCurrentlyPlayingServiceReference() sollte das wohl sein
- self.session.open(EPGSelection)
+ self.session.open(EPGSelection, self.session.nav.getCurrentlyPlayingServiceReference())
def quit(self):
configfile.save()