diff options
| author | acid-burn <acidburn@opendreambox.org> | 2009-08-27 17:38:58 +0200 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2009-08-27 17:38:58 +0200 |
| commit | 1b69c6d4604804d03cc4ac3cccaa16b7ae70ccad (patch) | |
| tree | 18be7ddfe86214af186ed909621b7958c130413b /lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml | |
| parent | 17ce0c30d39a197c49c9a2945e4e5cff53317aa4 (diff) | |
| download | enigma2-1b69c6d4604804d03cc4ac3cccaa16b7ae70ccad.tar.gz enigma2-1b69c6d4604804d03cc4ac3cccaa16b7ae70ccad.zip | |
Enigma2: add CleanupWizard to SystemPlugins and Enigma2 build.
- The CleanupWizard informs you on system boot if your avalalble internal memory (flash) has droppen below 2MB
and allows the removal of enigma2-plugins and skins to cleanup the internal memory (flash) on bootup.
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml')
| -rwxr-xr-x | lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml b/lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml new file mode 100755 index 00000000..1404ca5f --- /dev/null +++ b/lib/python/Plugins/SystemPlugins/CleanupWizard/cleanupwizard.xml @@ -0,0 +1,59 @@ +<wizard> + <step id="welcome"> + <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." /> + <displaytext value="Cleanup Wizard" /> + <list type="dynamic" source="listAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" /> + <code> +self.clearSelectedKeys() +self.selectKey("OK") + </code> + <code pos="after" async="yes"> +self.buildList(self.selectedAction) + </code> + </step> + + <step id="removeextensions"> + <text value="Please select an extension to remove." /> + <displaytext value="Select package" /> + <list type="dynamic" source="listInstalledPackages" evaluation="PackageSelectionMade" onselect="PackageSelectionMoved" /> + <code> +self.clearSelectedKeys() +self.selectKey("OK") +self.selectKey("UP") +self.selectKey("DOWN") + </code> + <code pos="after" async="yes"> +self.removeExtension(self.selectedPackage) + </code> + </step> + + <step id="StatusRemoveOK"> + <text value="Package removed successfully.\n" /> + <displaytext value="Removed successfully." /> + <list type="dynamic" source="listAgainAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" /> + <code> +self["text"].setText(self.Text) +self.clearSelectedKeys() +self.selectKey("OK") + </code> + <code pos="after" async="yes"> +self.buildList(self.selectedAction) + </code> + </step> + <step id="StatusRemoveERROR"> + <text value="Package removal failed.\n" /> + <displaytext value="Remove failed." /> + <list type="dynamic" source="listAgainAction" evaluation="ActionSelectionMade" onselect="ActionSelectionMoved" /> + <code> +self["text"].setText(self.Text) +self.clearSelectedKeys() +self.selectKey("OK") + </code> + <code pos="after" async="yes"> +self.buildList(self.selectedAction) + </code> + </step> + <step id="end"> + <text value="The wizard is finished now." /> + </step> +</wizard> |
