diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-05-27 11:50:02 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-05-27 11:50:02 +0000 |
| commit | 9dc29bf90e1c24fefc79a3f9622d379e5d4b5bb9 (patch) | |
| tree | 167246cac8c765f97e6371b10fea39c588d4b49b /data/defaultsatlists.xml | |
| parent | 291a8bbfb085effac97f25421a239fe41c092f14 (diff) | |
| download | enigma2-9dc29bf90e1c24fefc79a3f9622d379e5d4b5bb9.tar.gz enigma2-9dc29bf90e1c24fefc79a3f9622d379e5d4b5bb9.zip | |
add default services lists as a scan alternative
Diffstat (limited to 'data/defaultsatlists.xml')
| -rw-r--r-- | data/defaultsatlists.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/data/defaultsatlists.xml b/data/defaultsatlists.xml new file mode 100644 index 00000000..2902d1d7 --- /dev/null +++ b/data/defaultsatlists.xml @@ -0,0 +1,59 @@ +<wizard> + <step id="welcome" nextstep="nothingtoinstall"> + <condition> +packagelist = self.fillPackagesList() +self.runWizard = (len(packagelist) > 0) +self.condition = self.runWizard + </condition> + <text value="Please choose the default services lists you want to install." /> + <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /--> + <config type="dynamic" source="getConfigList" evaluation="selectionMade" /> + <code pos="after"> +self.disableKeys = True + </code> + </step> + <step id="nopackages" nextstep="install"> + <text value="There are no default services lists in your image." /> + </step> + + <step id="nothingtoinstall" nextstep="install"> + <condition> +if self.runWizard: + self.condition = True + for x in self.packagesConfig: + if x.value: + self.condition = False + break +else: + self.condition = False + </condition> + <text value="You chose not to install any default services lists." /> + <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /--> + <code> +self.disableKeys = False + </code> + <code pos="after"> +self.markDone() + </code> + </step> + + <step id="install"> + <condition> +self.condition = False +if self.runWizard: + for x in self.packagesConfig: + if x.value: + self.condition = True + break + </condition> + <code> +self.disableKeys = True + </code> + <code> +#print "len of packageslist", len(self.packageslist) +#if (len(self.packageslist) == 1): + #self.installPackage(0) + </code> + <text value="Installing default sat lists... Please wait..." /> + </step> +</wizard> |
