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 = """
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)