Revert "lib/gdi/font.cpp: call libfribidi for single lines on multi line texts to...
[enigma2.git] / data / defaultwizard.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 some default settings now. Please select the settings you want to be installed." />
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="There are no default settings in your image." />
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 any default settings. You can however install the default settings later in the settings menu." />
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 self.installPackages(self.indexList)
55                 </code>
56                 <code>
57 #print "len of packageslist", len(self.packageslist)
58 #if (len(self.packageslist) == 1):
59         #self.installPackage(0)
60                 </code>
61                 <text value="Installing defaults... Please wait..." />
62         </step>
63 </wizard>