X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=data%2Fstartwizard.xml;h=5604f90d1cda3c7646f02a1b21ef5484242d2ad6;hb=ac203607d047ed489f339ab211907d1d1a1ff133;hp=eb16c263d1574d5b8d078c9caf72306ac94ec0b9;hpb=a27631694342ad6f77090743b5affddef5e155e0;p=vuplus_dvbapp diff --git a/data/startwizard.xml b/data/startwizard.xml index eb16c26..5604f90 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -30,7 +30,7 @@ self["rc"].startMoving() from Components.NimManager import nimmanager -self.condition = nimmanager.getNimType(0) != nimmanager.nimType["empty/unknown"] +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 = nimmanager.getNimType(1) != nimmanager.nimType["empty/unknown"] +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.value @@ -66,10 +66,10 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = nimmanager.getNimType(2) != nimmanager.nimType["empty/unknown"] +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value - - + + self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() @@ -84,10 +84,10 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = nimmanager.getNimType(3) != nimmanager.nimType["empty/unknown"] +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value - - + + self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() @@ -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 + @@ -131,13 +143,13 @@ self["arrowup2"].startMoving() - + -if self["list"].getSelectedIndex() == 0: +if self["list"].index == 0: config.ParentalControl.configured.value = True else: config.ParentalControl.configured.value = False @@ -152,7 +164,7 @@ config.ParentalControl.configured.save() from ParentalControlSetup import ParentalControlChangePin -if self["list"].getSelectedIndex() == 0: +if self["list"].index == 0: self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))