fix startwizzard for nim changes
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 18 May 2007 15:02:15 +0000 (15:02 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 18 May 2007 15:02:15 +0000 (15:02 +0000)
data/startwizard.xml

index de04119..402eeef 100644 (file)
@@ -30,7 +30,7 @@ self["rc"].startMoving()
                <step id="nima">
                        <condition>
 from Components.NimManager import nimmanager
-self.condition = nimmanager.getNimType(0) != nimmanager.nimType["empty/unknown"]
+self.condition = not nimmanager.nim_slots[0].empty
                        </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.getNimType(1) != nimmanager.nimType["empty/unknown"]
+self.condition = not nimmanager.nim_slots[1].empty
                        </condition>
                        <text value="Please set up tuner B" />
                        <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
@@ -66,9 +66,9 @@ self["arrowdown"].startMoving()
                <step id="nimc">
                        <condition>
 from Components.NimManager import nimmanager
-self.condition = nimmanager.getNimType(2) != nimmanager.nimType["empty/unknown"]
+self.condition = not nimmanager.nim_slots[2].empty
                        </condition>
-                       <text value="Please set up tuner B" />
+                       <text value="Please set up tuner C" />
                        <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
                        <code>
 self["rc"].moveTo(500, 50, 1)
@@ -84,9 +84,9 @@ self["arrowdown"].startMoving()
                <step id="nimd">
                        <condition>
 from Components.NimManager import nimmanager
-self.condition = nimmanager.getNimType(3) != nimmanager.nimType["empty/unknown"]
+self.condition = not nimmanager.nim_slots[3].empty
                        </condition>
-                       <text value="Please set up tuner B" />
+                       <text value="Please set up tuner D" />
                        <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
                        <code>
 self["rc"].moveTo(500, 50, 1)