improve seek accuracy
[enigma2.git] / lib / python / Screens / TutorialWizard.py
index 3febb1af0b1b0e1b4e97e8b1fb9711df9c0aaf31..bab07f2021b92f0170033fe5498a52d29182d28d 100644 (file)
@@ -1,12 +1,11 @@
 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 = """
@@ -30,7 +29,7 @@ class TutorialWizard(Wizard):
                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)