move registering of DefaultWizard from StartWizard.py into DefaultWizard.py
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 16 May 2008 23:05:50 +0000 (23:05 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 16 May 2008 23:05:50 +0000 (23:05 +0000)
lib/python/Screens/StartWizard.py
mytest.py

index 95fc24d..23c3cd7 100644 (file)
@@ -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)
index e8e0c74..5b3258d 100644 (file)
--- 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