run wizard plugins before wizard
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 22 Feb 2006 00:45:01 +0000 (00:45 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 22 Feb 2006 00:45:01 +0000 (00:45 +0000)
mytest.py

index 9d2998b..522b9b3 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -271,14 +271,19 @@ def runScreenTest():
        
        session.nav = Navigation()
        
-       screensToRun = wizardManager.getWizards()
+       screensToRun = [ ]
+       
        for p in plugins.getPlugins(PluginDescriptor.WHERE_WIZARD):
                screensToRun.append(p.__call__)
+       
+       screensToRun += wizardManager.getWizards()
+       
        screensToRun.append(Screens.InfoBar.InfoBar)
 
        def runNextScreen(session, screensToRun, *result):
                if result:
                        quitMainloop(*result)
+                       return
        
                screen = screensToRun[0]