add missing parentheses
[enigma2.git] / data / defaultsatlists.xml
1 <wizard>
2         <step id="startdefaultlists" nextstep="nothingtoinstall">
3                 <condition>
4 packagelist = self.fillPackagesList()
5 self.runWizard = (len(packagelist) > 0)
6 self.condition = self.runWizard
7                 </condition>
8                 <text value="Please choose the default services lists you want to install." />
9                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
10                 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
11                 <code pos="after">
12 self.disableKeys = True
13                 </code>
14         </step>
15         <step id="nopackages" nextstep="finisheddefaultsatlists">
16                 <text value="There are no default services lists in your image." />
17         </step>
18         
19         <step id="nothingtoinstall" nextstep="finisheddefaultsatlists">
20                 <condition>
21 if self.runWizard:
22         self.condition = True
23         for x in self.packagesConfig:
24                 if x.value:
25                         self.condition = False
26                         break
27 else:
28         self.condition = False
29                 </condition>
30                 <text value="You chose not to install any default services lists." />
31                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
32                 <code>
33 self.disableKeys = False
34                 </code>
35         </step>
36         
37         <step id="install" nextstep="finisheddefaultsatlists">
38                 <condition>
39 self.condition = False
40 if self.runWizard:
41         for x in self.packagesConfig:
42                 if x.value:
43                         self.condition = True
44                         break 
45                 </condition>
46                 <code>
47 self.disableKeys = True                 
48 self.installPackages(self.indexList)
49                 </code>
50                 <text value="Installing default sat lists... Please wait..." />
51         </step>
52         
53         <step id="finisheddefaultsatlists">
54                 <condition>
55 self.markDone()
56 self.condition = False
57                 </condition>
58         </step>
59 </wizard>