From ad1e20175ad282a750315eb17861258668dfb2c9 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 2 Jun 2008 11:50:49 +0000 Subject: move installPackage call one wizard step to properly update the wizard texts --- lib/python/Screens/ScanSetup.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/python/Screens/ScanSetup.py') 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): -- cgit v1.2.3