aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/DefaultWizard.py5
-rw-r--r--lib/python/Screens/ScanSetup.py10
2 files changed, 11 insertions, 4 deletions
diff --git a/lib/python/Screens/DefaultWizard.py b/lib/python/Screens/DefaultWizard.py
index c74e5866..79c68f65 100644
--- a/lib/python/Screens/DefaultWizard.py
+++ b/lib/python/Screens/DefaultWizard.py
@@ -57,11 +57,10 @@ class DefaultWizard(WizardLanguage, DreamInfoHandler):
def selectionMade(self):
print "selection made"
#self.installPackage(int(index))
- indexList = []
+ self.indexList = []
for x in range(len(self.packagesConfig)):
if self.packagesConfig[x].value:
- indexList.append(x)
- self.installPackages(indexList)
+ self.indexList.append(x)
class DreamPackageWizard(DefaultWizard):
def __init__(self, session, packagefile, silent = False):
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index 92d82073..357888f8 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -285,7 +285,15 @@ class DefaultSatLists(DefaultWizard):
def setDirectory(self):
self.directory = resolveFilename(SCOPE_DEFAULTPARTITIONMOUNTDIR)
- self.xmlfile = "defaultsatlists.xml"
+ self.xmlfile = "defaultsatlists.xml"
+
+ def statusCallback(self, status, progress):
+ print "statusCallback:", status, progress
+ from Components.DreamInfoHandler import DreamInfoHandler
+ if status == DreamInfoHandler.STATUS_DONE:
+ self["text"].setText(_("The installation of the default services lists is finished."))
+ self.markDone()
+ self.disableKeys = False
class ScanSetup(ConfigListScreen, Screen, CableTransponderSearchSupport):
def __init__(self, session):