4.4.2r2
[enigma2.git] / usr / share / enigma2 / 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 service list you want to install." />
9                 <short_title value="Choose Servicelist" />
10                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
11                 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
12                 <code pos="after">
13 self.disableKeys = True
14                 </code>
15         </step>
16
17         <!--step id="nopackages" nextstep="finisheddefaultsatlists"-->
18         <step id="nopackages" nextstep="satlistsquestion">
19                 <text value="There are no default services lists in your image." />
20                 <short_title value="No service lists available" />
21         </step>
22         
23         <!--step id="nothingtoinstall" nextstep="finisheddefaultsatlists"-->
24         <step id="nothingtoinstall" nextstep="scanquestion">
25                 <condition>
26 if self.runWizard:
27         self.condition = True
28         for x in self.packagesConfig:
29                 if x.value:
30                         self.condition = False
31                         break
32 else:
33         self.condition = False
34                 </condition>
35                 <text value="You chose not to install any default services lists." />
36                 <short_title value="Skip Satlists" />
37                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
38                 <code>
39 self.disableKeys = False
40                 </code>
41         </step>
42         
43         <step id="install" nextstep="finisheddefaultsatlists">
44                 <condition>
45 self.condition = False
46 if self.runWizard:
47         for x in self.packagesConfig:
48                 if x.value:
49                         self.condition = True
50                         break 
51                 </condition>
52                 <code>
53 self.disableKeys = True                 
54 self.installPackages(self.indexList)
55                 </code>
56                 <text value="Installing default service lists... Please wait..." />
57                 <short_title value="Installing..." />
58         </step>
59         
60         <step id="finisheddefaultsatlists">
61                 <condition>
62 self.markDone()
63 self.condition = False
64                 </condition>
65         </step>
66 </wizard>