whitespace fixes
[enigma2.git] / lib / python / Screens / ServiceScan.py
index 88730ee9dcb2bf70623ff7882ba25afe47df7848..772141a6540ce9bcde513875e4a1b5283de5a752 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,16 @@ class ServiceScan(Screen):
        def cancel(self):
                self.close()
        
-       def __init__(self, session, transponders, feid, flags):
+       def __init__(self, session, scanList):
                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, feid, flags)
+               self["scan_state"] = Label(_("scan state"))
+               self["pass"] = Label("")
+               self["servicelist"] = FIFOList(len=7)
+               self["scan"] = CScan(self["scan_progress"], self["scan_state"], self["servicelist"], self["pass"], scanList)
 
                self["actions"] = ActionMap(["OkCancelActions"], 
                        {