From bdbf663b67d46f79ba2163f6b7df377a63218092 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 7 Jul 2008 20:22:30 +0000 Subject: - allow multiple xml control files for one wizard (to combine wizards, that should also be able to run standalone) - separate question for default sat lists in start wizard --- data/defaultsatlists.xml | 23 +++++++++++------------ data/startwizard.xml | 36 ++++++++++++++++++++++++------------ 2 files changed, 35 insertions(+), 24 deletions(-) (limited to 'data') diff --git a/data/defaultsatlists.xml b/data/defaultsatlists.xml index f6489676..132b427c 100644 --- a/data/defaultsatlists.xml +++ b/data/defaultsatlists.xml @@ -1,5 +1,5 @@ - + packagelist = self.fillPackagesList() self.runWizard = (len(packagelist) > 0) @@ -12,11 +12,11 @@ self.condition = self.runWizard self.disableKeys = True - + - + if self.runWizard: self.condition = True @@ -32,12 +32,9 @@ else: self.disableKeys = False - -self.markDone() - - + self.condition = False if self.runWizard: @@ -49,12 +46,14 @@ if self.runWizard: self.disableKeys = True self.installPackages(self.indexList) - - -#print "len of packageslist", len(self.packageslist) -#if (len(self.packageslist) == 1): - #self.installPackage(0) + + + +self.markDone() +self.condition = False + + diff --git a/data/startwizard.xml b/data/startwizard.xml index 3dedafc9..8e054fb6 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,5 +1,5 @@ - + self["arrowdown"].moveTo(557, 232, 1) @@ -99,6 +99,25 @@ self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() + + + +self.condition = config.misc.startwizard.doservicescan.value + + +self["rc"].moveTo(800, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(800, 310, 1) +self["arrowup"].startMoving() +self["arrowup2"].moveTo(800, 310, 1) +self["arrowup2"].startMoving() + + + + + + + @@ -115,17 +134,10 @@ self["arrowup2"].startMoving() - - + - -if self["list"].index == 2: - #from Screens.ScanSetup import ScanSetup - from Screens.ScanSetup import DefaultSatLists - self.session.open(DefaultSatLists) - - + self.condition = config.misc.startwizard.doservicescan.value @@ -146,10 +158,10 @@ self.condition = config.misc.startwizard.doservicescan.value - + - + -- cgit v1.2.3