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 95fc24d1e762d3bcbaae56fec7abdb2479430db1..23c3cd71a143b52f1c8f66a30790cf598755328b 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 e8e0c74c8649c1e845697778b45408c98b83e828..5b3258d12f36cfed9d504f48f032c98f69d271d1 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