1404ca5f23351376333a03d798fbcc434b14eb4f
[enigma2.git] / lib / python / Plugins / SystemPlugins / CleanupWizard / cleanupwizard.xml
1 <wizard>
2         <step id="welcome">
3                 <text value="Welcome to the cleanup wizard.\n\nWe have detected that your available internal memory has dropped below 2MB.\n\nTo ensure stable operation of your Dreambox, the internal memory should be cleaned up.\nYou can use this wizard to remove some extensions." />
4                 <displaytext value="Cleanup Wizard" />
5                 <list type="dynamic" source="listAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" />
6                 <code>
7 self.clearSelectedKeys()
8 self.selectKey("OK")
9                 </code>
10                 <code pos="after" async="yes">
11 self.buildList(self.selectedAction)
12                 </code>
13         </step>
14
15         <step id="removeextensions">
16                 <text value="Please select an extension to remove." />
17                 <displaytext value="Select package" />
18                 <list type="dynamic" source="listInstalledPackages" evaluation="PackageSelectionMade" onselect="PackageSelectionMoved" />
19                 <code>
20 self.clearSelectedKeys()
21 self.selectKey("OK")
22 self.selectKey("UP")
23 self.selectKey("DOWN")
24                 </code>
25                 <code pos="after" async="yes">
26 self.removeExtension(self.selectedPackage)
27                 </code>
28         </step>
29
30         <step id="StatusRemoveOK">
31                 <text value="Package removed successfully.\n" />
32                 <displaytext value="Removed successfully." />
33                 <list type="dynamic" source="listAgainAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" />
34                 <code>
35 self["text"].setText(self.Text)
36 self.clearSelectedKeys()
37 self.selectKey("OK")
38                 </code>
39                 <code pos="after" async="yes">
40 self.buildList(self.selectedAction)
41                 </code>
42         </step>
43         <step id="StatusRemoveERROR">
44                 <text value="Package removal failed.\n" />
45                 <displaytext value="Remove failed." />
46                 <list type="dynamic" source="listAgainAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" />
47                 <code>
48 self["text"].setText(self.Text)
49 self.clearSelectedKeys()
50 self.selectKey("OK")
51                 </code>
52                 <code pos="after" async="yes">
53 self.buildList(self.selectedAction)
54                 </code>
55         </step>
56         <step id="end">
57                 <text value="The wizard is finished now." />
58         </step>
59 </wizard>