Merge remote branch 'origin/bug_306_sort_by_date'
[enigma2.git] / data / dreampackagewizard.xml
1 <wizard>
2         <step id="welcome" nextstep="nothingtoinstall">
3                 <condition>
4 packagelist = self.fillPackagesList()
5 self.runWizard = (len(packagelist) > 0)
6 self.condition = self.runWizard
7                 </condition>
8                 <text value="You can choose, what 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="install">
16                 <condition>
17 self.condition = self.runWizard or not self.silent
18                 </condition>
19                 <text value="The package doesn't contain anything." />
20         </step>
21         
22         <step id="nothingtoinstall" nextstep="install">
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 anything. Please press OK finish the install wizard." />
34                 <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
35                 <code>
36 self.disableKeys = False
37                 </code>
38                 <code pos="after">
39 self.markDone()
40                 </code>
41         </step>
42         
43         <step id="install">
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                 </code>
55                 <code>
56 #print "len of packageslist", len(self.packageslist)
57 #if (len(self.packageslist) == 1):
58         #self.installPackage(0)
59                 </code>
60                 <text value="Installing package content... Please wait..." />
61         </step>
62 </wizard>