now its possible to call ePixmap.setPixmap from python without use of
[enigma2.git] / lib / python / Screens / StartWizard.py
index 8f356edc036937ff247b523896a66872003d18bc..b67ca9d47a76f789819e13aff9455d9c35b32529 100644 (file)
@@ -1,11 +1,12 @@
 from Wizard import Wizard, wizardManager
 
 from Components.Pixmap import *
-from Components.config import configElementBoolean, config, configfile
+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)