aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-02-11 14:12:52 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-02-11 14:12:52 +0000
commit5bc8209d19e1d41f289cfe198e4e3a839adf894b (patch)
tree34a7906db00712fd20837887212223f50236979b /mytest.py
parentb6748e04393c47c18453c2d2fda88e315aa9d55d (diff)
downloadenigma2-5bc8209d19e1d41f289cfe198e4e3a839adf894b.tar.gz
enigma2-5bc8209d19e1d41f289cfe198e4e3a839adf894b.zip
add a 'priority' for wizard screens to define the run order
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py6
1 files changed, 4 insertions, 2 deletions
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)