loading and saving the cable transponders to lamedb works now
[enigma2.git] / lib / python / Screens / ServiceScan.py
index 17b7da75e5de9c9db0565e621e3abe4c0222f9d4..b09353f0a45a036273249acfb086b02954fcb639 100644 (file)
@@ -3,6 +3,7 @@ from Components.ServiceScan import ServiceScan as CScan
 from Components.ProgressBar import ProgressBar
 from Components.Label import Label
 from Components.ActionMap import ActionMap
+from Components.FIFOList import FIFOList
 
 class ServiceScan(Screen):
        def ok(self):
@@ -13,14 +14,15 @@ class ServiceScan(Screen):
        def cancel(self):
                self.close()
        
-       def __init__(self, session, transponders, flags):
+       def __init__(self, session, transponders, feid, flags):
                Screen.__init__(self, session)
                
                self.session.nav.stopService()
                
                self["scan_progress"] = ProgressBar()
-               self["scan_state"] = Label("scan state")
-               self["scan"] = CScan(self["scan_progress"], self["scan_state"], transponders, flags)
+               self["scan_state"] = Label(_("scan state"))
+               self["servicelist"] = FIFOList(len=7)
+               self["scan"] = CScan(self["scan_progress"], self["scan_state"], self["servicelist"], transponders, feid, flags)
 
                self["actions"] = ActionMap(["OkCancelActions"], 
                        {