replace some more Clock() by ObsoleteSource redirect (and fix skin_default), by Morit...
[enigma2.git] / lib / python / Screens / StartWizard.py
index 8f356edc036937ff247b523896a66872003d18bc..1734d7341da43cf98a4ac28319058e9feb09d20a 100644 (file)
@@ -1,11 +1,12 @@
 from Wizard import Wizard, wizardManager
 
-from Components.Pixmap import *
-from Components.config import configElementBoolean, config, configfile
+from Components.Pixmap import Pixmap, MovingPixmap
+from Components.config import config, ConfigBoolean, configfile
 
 from LanguageSelection import LanguageSelection
 
-config.misc.firstrun = configElementBoolean("config.misc.firstrun", 1);
+config.misc.firstrun = ConfigBoolean(default = True)
+config.misc.languageselected = ConfigBoolean(default = True)
 
 class StartWizard(Wizard):
        skin = """
@@ -33,9 +34,9 @@ class StartWizard(Wizard):
                self["arrowup2"] = MovingPixmap()
                
        def markDone(self):
-               config.misc.firstrun.value = 0;
+               config.misc.firstrun.value = 0
                config.misc.firstrun.save()
                configfile.save()
                
-wizardManager.registerWizard(LanguageSelection, config.misc.firstrun.value)
+wizardManager.registerWizard(LanguageSelection, config.misc.languageselected.value)
 wizardManager.registerWizard(StartWizard, config.misc.firstrun.value)