From: Stefan Pluecken Date: Fri, 16 May 2008 23:05:50 +0000 (+0000) Subject: move registering of DefaultWizard from StartWizard.py into DefaultWizard.py X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=b009cd002baa14ac24020be3832ccb2bb8e5c404 move registering of DefaultWizard from StartWizard.py into DefaultWizard.py --- diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py index 95fc24d..23c3cd7 100644 --- a/lib/python/Screens/StartWizard.py +++ b/lib/python/Screens/StartWizard.py @@ -5,7 +5,6 @@ from Components.Pixmap import Pixmap, MovingPixmap from Components.config import config, ConfigBoolean, configfile from LanguageSelection import LanguageSelection -from DefaultWizard import DefaultWizard config.misc.firstrun = ConfigBoolean(default = True) config.misc.languageselected = ConfigBoolean(default = True) @@ -26,5 +25,4 @@ class StartWizard(WizardLanguage): configfile.save() wizardManager.registerWizard(LanguageSelection, config.misc.languageselected.value, priority = 5) -wizardManager.registerWizard(DefaultWizard, config.misc.defaultchosen.value, priority = 1) wizardManager.registerWizard(StartWizard, config.misc.firstrun.value, priority = 20) diff --git a/mytest.py b/mytest.py index e8e0c74..5b3258d 100644 --- a/mytest.py +++ b/mytest.py @@ -74,6 +74,7 @@ profile("LOAD:Wizard") from Screens.Wizard import wizardManager from Screens.ImageWizard import * from Screens.StartWizard import * +from Screens.DefaultWizard import * from Screens.TutorialWizard import * from Tools.BoundFunction import boundFunction from Plugins.Plugin import PluginDescriptor