aboutsummaryrefslogtreecommitdiff
path: root/data/dreampackagewizard.xml
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-05-17 22:52:47 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-05-17 22:52:47 +0000
commit5782eaf8b54f08604b5002a94b67708656cdca74 (patch)
tree88ea828f97ce4cbc84ea96b3c1d066397dd2994e /data/dreampackagewizard.xml
parentc0ebc011a78dd85727b3d91de8cbf271a25b8819 (diff)
downloadenigma2-5782eaf8b54f08604b5002a94b67708656cdca74.tar.gz
enigma2-5782eaf8b54f08604b5002a94b67708656cdca74.zip
add DreamPackageWizard
Diffstat (limited to 'data/dreampackagewizard.xml')
-rw-r--r--data/dreampackagewizard.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/data/dreampackagewizard.xml b/data/dreampackagewizard.xml
new file mode 100644
index 00000000..3a515424
--- /dev/null
+++ b/data/dreampackagewizard.xml
@@ -0,0 +1,62 @@
+<wizard>
+ <step id="welcome" nextstep="nothingtoinstall">
+ <condition>
+packagelist = self.fillPackagesList()
+self.runWizard = (len(packagelist) > 0)
+self.condition = self.runWizard
+ </condition>
+ <text value="You can choose, what you want to install.." />
+ <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
+ <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
+ <code pos="after">
+self.disableKeys = True
+ </code>
+ </step>
+ <step id="nopackages" nextstep="install">
+ <condition>
+self.condition = self.runWizard or not self.silent
+ </condition>
+ <text value="The package doesn't contain anything." />
+ </step>
+
+ <step id="nothingtoinstall" nextstep="install">
+ <condition>
+if self.runWizard:
+ self.condition = True
+ for x in self.packagesConfig:
+ if x.value:
+ self.condition = False
+ break
+else:
+ self.condition = False
+ </condition>
+ <text value="You chose not to install anything. Please press OK finish the install wizard." />
+ <!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
+ <code>
+self.disableKeys = False
+ </code>
+ <code pos="after">
+self.markDone()
+ </code>
+ </step>
+
+ <step id="install">
+ <condition>
+self.condition = False
+if self.runWizard:
+ for x in self.packagesConfig:
+ if x.value:
+ self.condition = True
+ break
+ </condition>
+ <code>
+self.disableKeys = True
+ </code>
+ <code>
+#print "len of packageslist", len(self.packageslist)
+#if (len(self.packageslist) == 1):
+ #self.installPackage(0)
+ </code>
+ <text value="Installing package content... Please wait..." />
+ </step>
+</wizard> \ No newline at end of file