Add some parental control improvements (made by Tode)
[enigma2.git] / lib / python / Screens / TutorialWizard.py
1 from Wizard import Wizard, wizardManager
2
3 from Components.config import ConfigBoolean, config
4 from Components.Pixmap import MovingPixmap
5
6 config.misc.firstruntutorial = ConfigBoolean(default = True)
7
8 class TutorialWizard(Wizard):
9         def __init__(self, session):
10                 self.xmlfile = "tutorialwizard.xml"
11                 Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=False)
12                 self["rc"] = MovingPixmap()
13                 self["arrowdown"] = MovingPixmap()
14                 self["arrowup"] = MovingPixmap()
15                 self["arrowup2"] = MovingPixmap()
16                 
17         def markDone(self):
18                 config.misc.firstruntutorial.value = False
19                 config.misc.firstruntutorial.save()
20
21 #wizardManager.registerWizard(TutorialWizard, config.misc.firstruntutorial.value, priority = 30)