aboutsummaryrefslogtreecommitdiff
path: root/data/startwizard.xml
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-16 23:40:01 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-16 23:40:01 +0000
commit7c8c99715d23af5678bbc8ded629f06202648025 (patch)
tree5b8c0cf274c6fa1a85f30ad8d1f1347455210051 /data/startwizard.xml
parent73f8bc2d9e8b1588921635c65d4c664216cfc658 (diff)
downloadenigma2-7c8c99715d23af5678bbc8ded629f06202648025.tar.gz
enigma2-7c8c99715d23af5678bbc8ded629f06202648025.zip
add a condition to the wizard-parser
use this condition to discover, whether we need to show the tuner configs in the start wizard (single tuner-boxes should work now)
Diffstat (limited to 'data/startwizard.xml')
-rw-r--r--data/startwizard.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/startwizard.xml b/data/startwizard.xml
index ae181f4d..37a5b1e5 100644
--- a/data/startwizard.xml
+++ b/data/startwizard.xml
@@ -28,6 +28,10 @@ self["rc"].startMoving()
</code>
</step>
<step number="3">
+ <condition>
+from Components.NimManager import nimmanager
+self.condition = nimmanager.nimCount > 0
+ </condition>
<text value="Use the left and right buttons to change an option.\n\nPlease set up tuner A" />
<config screen="NimSetup" module="Satconfig" args="0" type="ConfigList" />
<code>
@@ -43,6 +47,10 @@ self["arrowdown"].startMoving()
</code>
</step>
<step number="4">
+ <condition>
+from Components.NimManager import nimmanager
+self.condition = nimmanager.nimCount > 1
+ </condition>
<text value="Please set up tuner B" />
<config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
<code>