fix commit fb764c8e53e17bc3e1e806e946956f3e70792020 (fixes PiP)
[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
16         <!--step id="nopackages" nextstep="finisheddefaultsatlists"-->
17         <step id="nopackages" nextstep="scanquestion">
18                 <text value="There are no default services lists in your image." />
19         </step>
20         
21         <!--step id="nothingtoinstall" nextstep="finisheddefaultsatlists"-->
22         <step id="nothingtoinstall" nextstep="scanquestion">
23                 <condition>
24 if self.runWizard:
25         self.condition = True
26         for x in self.packagesConfig:
27                 if x.value:
28                         self.condition = False
29                         break
30 else:
31         self.condition = False
32                 </condition>
33                 <text value="You chose not to install any default services lists." />
34                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
35                 <code>
36 self.disableKeys = False
37                 </code>
38         </step>
39         
40         <step id="install" nextstep="finisheddefaultsatlists">
41                 <condition>
42 self.condition = False
43 if self.runWizard:
44         for x in self.packagesConfig:
45                 if x.value:
46                         self.condition = True
47                         break 
48                 </condition>
49                 <code>
50 self.disableKeys = True                 
51 self.installPackages(self.indexList)
52                 </code>
53                 <text value="Installing default sat lists... Please wait..." />
54         </step>
55         
56         <step id="finisheddefaultsatlists">
57                 <condition>
58 self.markDone()
59 self.condition = False
60                 </condition>
61         </step>
62 </wizard>