1 from Screen import Screen
2 from Components.ServiceScan import ServiceScan as CScan
3 from Components.ProgressBar import ProgressBar
4 from Components.Label import Label
5 from Components.ActionMap import ActionMap
7 class ServiceScan(Screen):
10 if self["scan"].isDone():
16 def __init__(self, session):
17 Screen.__init__(self, session)
19 self["scan_progress"] = ProgressBar()
20 self["scan_state"] = Label("scan state")
21 self["scan"] = CScan(self["scan_progress"], self["scan_state"])
23 self["actions"] = ActionMap(["OkCancelActions"],