From ac203607d047ed489f339ab211907d1d1a1ff133 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 18 May 2008 11:17:47 +0000 Subject: don't show in startwizard - tuner config if config.misc.startwizard.shownimconfig = False - service scan if config.misc.startwizard.doservicescan = False can be used to preconfigure an image through defaults in the dealer partition --- data/startwizard.xml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'data/startwizard.xml') diff --git a/data/startwizard.xml b/data/startwizard.xml index 368b301e..5604f90d 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -30,7 +30,7 @@ self["rc"].startMoving() from Components.NimManager import nimmanager -self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty and config.misc.startwizard.shownimconfig.value @@ -48,7 +48,7 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.value @@ -66,7 +66,7 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value @@ -84,7 +84,7 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value @@ -101,6 +101,9 @@ self["arrowdown"].startMoving() + +self.condition = config.misc.startwizard.doservicescan.value + self["rc"].moveTo(800, 50, 1) self["rc"].startMoving() @@ -116,14 +119,23 @@ self["arrowup2"].startMoving() + +self.condition = config.misc.startwizard.doservicescan.value + + +self.condition = config.misc.startwizard.doservicescan.value + + +self.condition = config.misc.startwizard.doservicescan.value + -- cgit v1.2.3