X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1e1c01fece5a4a86a762af265e382da5dbb2d8cb..5dc2120aaf6890256cdc25edfc5f0d83192b0291:/lib/python/Screens/TutorialWizard.py diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py index 2d30b012..bab07f20 100644 --- a/lib/python/Screens/TutorialWizard.py +++ b/lib/python/Screens/TutorialWizard.py @@ -1,17 +1,17 @@ from Wizard import Wizard, wizardManager -from Components.config import configElementBoolean, config +from Components.config import ConfigBoolean, config from Components.Pixmap import * from LanguageSelection import LanguageSelection - -config.misc.firstruntutorial = configElementBoolean("config.misc.firstruntutorial", 1); +config.misc.firstruntutorial = ConfigBoolean(default = True) class TutorialWizard(Wizard): skin = """ - - + + + @@ -22,14 +22,14 @@ class TutorialWizard(Wizard): self.skin = TutorialWizard.skin self.xmlfile = "tutorialwizard.xml" - Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=False, showConfig=False) + Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=False) self["rc"] = MovingPixmap() self["arrowdown"] = MovingPixmap() self["arrowup"] = MovingPixmap() self["arrowup2"] = MovingPixmap() def markDone(self): - config.misc.firstruntutorial.value = 1; + config.misc.firstruntutorial.value = False config.misc.firstruntutorial.save() - -#wizardManager.registerWizard(TutorialWizard, config.misc.firstruntutorial.value) \ No newline at end of file + +#wizardManager.registerWizard(TutorialWizard, config.misc.firstruntutorial.value)