translations
[enigma2.git] / lib / python / Screens / ServiceScan.py
index 0c27237..8d58aa1 100644 (file)
@@ -11,14 +11,16 @@ class ServiceScan(Screen):
                        self.close()
        
        def cancel(self):
-               print "cancel not yet implemented ;)"
+               self.close()
        
-       def __init__(self, session):
+       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"])
+               self["scan_state"] = Label(_("scan state"))
+               self["scan"] = CScan(self["scan_progress"], self["scan_state"], transponders, feid, flags)
 
                self["actions"] = ActionMap(["OkCancelActions"], 
                        {