aboutsummaryrefslogtreecommitdiff
path: root/data/startwizard.xml
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-09-08 11:19:12 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-09-08 11:19:12 +0200
commitcfeea5d7bda036654206eefdb2ae96b03bd31969 (patch)
tree37486152748c40eae0d075e177f3604e27ed9093 /data/startwizard.xml
parent6d424e7cd304f215e1e40a135033321509db09ec (diff)
downloadenigma2-cfeea5d7bda036654206eefdb2ae96b03bd31969.tar.gz
enigma2-cfeea5d7bda036654206eefdb2ae96b03bd31969.zip
don't offer scanning on nims where nothing is connected
Diffstat (limited to 'data/startwizard.xml')
-rw-r--r--data/startwizard.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/data/startwizard.xml b/data/startwizard.xml
index c004a5e6..70a6e0dc 100644
--- a/data/startwizard.xml
+++ b/data/startwizard.xml
@@ -73,7 +73,8 @@ self.selectKey("RIGHT")
<step id="satlistsquestion">
<text value="Do you want to install default sat lists?" />
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<code>
self.hideRc()
@@ -87,7 +88,8 @@ self.hideRc()
<step id="scanquestion">
<text value="Do you want to do a service scan?" />
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<code>
self.hideRc()
@@ -100,21 +102,24 @@ self.hideRc()
</step>
<step id="scan" nextstep="finisheddefaultsatlists">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="What do you want to scan?" />
<config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
</step>
<step id="manualscan">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="What do you want to scan?" />
<config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
</step>
<step id="nextscan">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="Do you want to do another manual service scan?" />
<list>