diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-10 16:09:39 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-10 16:09:39 +0000 |
| commit | 4ac58077ff42ee1befee313fe2e185694d8b01b4 (patch) | |
| tree | f5990da32d5bb082c433e0a269545fabdbddb319 /lib/python/Screens/EpgSelection.py | |
| parent | fee71ba95208c1e3d1848854b4be1e4499a6fe4e (diff) | |
| download | enigma2-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/Screens/EpgSelection.py')
| -rw-r--r-- | lib/python/Screens/EpgSelection.py | 3 |
1 files changed, 2 insertions, 1 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() |
