From 5bc8209d19e1d41f289cfe198e4e3a839adf894b Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 11 Feb 2008 14:12:52 +0000 Subject: add a 'priority' for wizard screens to define the run order --- mytest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mytest.py') diff --git a/mytest.py b/mytest.py index 627d16fb..fd72529b 100644 --- a/mytest.py +++ b/mytest.py @@ -511,7 +511,9 @@ def runScreenTest(): profile("wizards") screensToRun += wizardManager.getWizards() - screensToRun.append(Screens.InfoBar.InfoBar) + screensToRun.append((100, Screens.InfoBar.InfoBar)) + + screensToRun.sort() ePythonConfigQuery.setQueryFunc(configfile.getResolvedKey) @@ -526,7 +528,7 @@ def runScreenTest(): quitMainloop(*result) return - screen = screensToRun[0] + screen = screensToRun[0][1] if len(screensToRun): session.openWithCallback(boundFunction(runNextScreen, session, screensToRun[1:]), screen) -- cgit v1.2.3