aboutsummaryrefslogtreecommitdiff
path: root/data/startwizard.xml
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-06-29 17:24:04 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-06-29 17:24:04 +0000
commit880c452e2eb1ae0f0c1543e5937b79a7d75be15d (patch)
treefc021751630017f40d4ddd0333e0d19bd342d7f9 /data/startwizard.xml
parent02a4a9200f6adfb42e08526e2f31547cde263fb7 (diff)
downloadenigma2-880c452e2eb1ae0f0c1543e5937b79a7d75be15d.tar.gz
enigma2-880c452e2eb1ae0f0c1543e5937b79a7d75be15d.zip
don't display tuner setup for empty tuner slots
Diffstat (limited to 'data/startwizard.xml')
-rw-r--r--data/startwizard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/startwizard.xml b/data/startwizard.xml
index 54533ebe..9dbf030d 100644
--- a/data/startwizard.xml
+++ b/data/startwizard.xml
@@ -30,7 +30,7 @@ self["rc"].startMoving()
<step id="nima">
<condition>
from Components.NimManager import nimmanager
-self.condition = nimmanager.nimCount > 0
+self.condition = nimmanager.getNimType(0) != nimmanager.nimType["empty/unknown"]
</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" />
@@ -48,7 +48,7 @@ self["arrowdown"].startMoving()
<step id="nimb">
<condition>
from Components.NimManager import nimmanager
-self.condition = nimmanager.nimCount > 1
+self.condition = nimmanager.getNimType(1) != nimmanager.nimType["empty/unknown"]
</condition>
<text value="Please set up tuner B" />
<config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />