user argument to set current service
[enigma2.git] / lib / python / Screens / EpgSelection.py
index aeab4f0..4391409 100644 (file)
@@ -10,7 +10,7 @@ from Screens.FixedMenu import FixedMenu
 import xml.dom.minidom
 
 class EPGSelection(Screen):
 import xml.dom.minidom
 
 class EPGSelection(Screen):
-       def __init__(self, session):
+       def __init__(self, session, root):
                Screen.__init__(self, session)
 
                self["list"] = EPGList()
                Screen.__init__(self, session)
 
                self["list"] = EPGList()
@@ -26,6 +26,7 @@ class EPGSelection(Screen):
                                "ok": self.eventSelected,
                        })
                self["actions"].csel = self
                                "ok": self.eventSelected,
                        })
                self["actions"].csel = self
+               setRoot(root)
 
        def eventSelected(self):
                ref = self["list"].getCurrent()
 
        def eventSelected(self):
                ref = self["list"].getCurrent()