X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/a4da9cccc2575c4bf299bde9594dad3e049ddf6a..9925392e576717cc0df070ace822a6f392808bb7:/lib/python/Screens/ServiceScan.py diff --git a/lib/python/Screens/ServiceScan.py b/lib/python/Screens/ServiceScan.py index 0c27237c..17b7da75 100644 --- a/lib/python/Screens/ServiceScan.py +++ b/lib/python/Screens/ServiceScan.py @@ -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, 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"] = CScan(self["scan_progress"], self["scan_state"], transponders, flags) self["actions"] = ActionMap(["OkCancelActions"], {