diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2009-09-08 11:19:12 +0200 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2009-09-08 11:19:12 +0200 |
| commit | cfeea5d7bda036654206eefdb2ae96b03bd31969 (patch) | |
| tree | 37486152748c40eae0d075e177f3604e27ed9093 /data | |
| parent | 6d424e7cd304f215e1e40a135033321509db09ec (diff) | |
| download | enigma2-cfeea5d7bda036654206eefdb2ae96b03bd31969.tar.gz enigma2-cfeea5d7bda036654206eefdb2ae96b03bd31969.zip | |
don't offer scanning on nims where nothing is connected
Diffstat (limited to 'data')
| -rw-r--r-- | data/startwizard.xml | 15 |
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> |
