X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FTutorialWizard.py;h=1c0c41088831bee5f2e909a698f176be1f9a814f;hb=2879d3645dc59425bb44217c6cfc8b5984246f5c;hp=0ba97d3a1f0bbe252c66aa23da26d94d31e87a83;hpb=d570ce4a7202de8b265fc2420d5219d13e105f95;p=vuplus_dvbapp diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py index 0ba97d3..1c0c410 100644 --- a/lib/python/Screens/TutorialWizard.py +++ b/lib/python/Screens/TutorialWizard.py @@ -1,35 +1,21 @@ from Wizard import Wizard, wizardManager -from Components.config import configElementBoolean, config -from Components.Pixmap import * +from Components.config import ConfigBoolean, config +from Components.Pixmap import MovingPixmap -from LanguageSelection import LanguageSelection - - -config.misc.firstruntutorial = configElementBoolean("config.misc.firstruntutorial", 1); +config.misc.firstruntutorial = ConfigBoolean(default = True) class TutorialWizard(Wizard): - skin = """ - - - - - - - """ - def __init__(self, session): - 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, priority = 30)