X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2a8ecd871020fdd668cf5500460e5a6e7851b4b0..995273c1f71c79d72fa75da25da4a03bd83ac9a4:/lib/python/Screens/StartWizard.py diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py index aff6e742..d0ece295 100644 --- a/lib/python/Screens/StartWizard.py +++ b/lib/python/Screens/StartWizard.py @@ -2,36 +2,19 @@ from Wizard import wizardManager from Screens.WizardLanguage import WizardLanguage from Components.Pixmap import Pixmap, MovingPixmap -from Components.config import config, ConfigBoolean, configfile +from Components.config import config, ConfigBoolean, configfile, ConfigSubsection from LanguageSelection import LanguageSelection -#from DefaultWizard import DefaultWizard config.misc.firstrun = ConfigBoolean(default = True) +config.misc.startwizard = ConfigSubsection() +config.misc.startwizard.shownimconfig = ConfigBoolean(default = True) +config.misc.startwizard.doservicescan = ConfigBoolean(default = True) config.misc.languageselected = ConfigBoolean(default = True) class StartWizard(WizardLanguage): - skin = """ - - - - - - - - - - - - - - - """ - def __init__(self, session): - self.skin = StartWizard.skin self.xmlfile = "startwizard.xml" - WizardLanguage.__init__(self, session, showSteps = False) self["wizard"] = Pixmap() self["rc"] = MovingPixmap() @@ -45,5 +28,4 @@ class StartWizard(WizardLanguage): configfile.save() wizardManager.registerWizard(LanguageSelection, config.misc.languageselected.value, priority = 5) -#wizardManager.registerWizard(DefaultWizard, config.misc.defaultchosen.value) wizardManager.registerWizard(StartWizard, config.misc.firstrun.value, priority = 20)