remove obsolete HTMLComponent
[enigma2.git] / lib / python / Components / ServiceScan.py
index 575c03028f21a94a1c48ed59a0a652a051da1452..0e23d344bcbfbd2d95bddbed916066478a797cd4 100644 (file)
@@ -72,12 +72,13 @@ class ServiceScan:
        def updatePass(self):
                size = len(self.scanList)
                if size > 1:
-                       self.passNumber.setText(_("pass") + " " + str(self.run + 1) + "/" + str(size) + " (" + _("NIM") + " " + str(self.scanList[self.run]["feid"]) + ")")
+                       self.passNumber.setText(_("pass") + " " + str(self.run + 1) + "/" + str(size) + " (" + _("Tuner") + " " + str(self.scanList[self.run]["feid"]) + ")")
                
        def execBegin(self):
                self.updatePass()
                self.scan.statusChanged.get().append(self.scanStatusChanged)
                self.scan.newService.get().append(self.newService)
+               self.servicelist.clear()
                self.state = self.Running
                err = self.scan.start(self.feid, self.flags)
                if err:
@@ -100,3 +101,6 @@ class ServiceScan:
        def newService(self):
                newServiceName = self.scan.getLastServiceName()
                self.servicelist.addItem(newServiceName)
+
+       def destroy(self):
+               pass