X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fstartwizard.xml;h=70a6e0dc368aa53b44478950527d2a6eef318a35;hp=d15082fd793c9d619121a81f52da5867c65b47db;hb=48dbcec4b0153166b3db2159648d3804e82269f9;hpb=c1311444ea249a45d0eceefa15d77fce410a54da diff --git a/data/startwizard.xml b/data/startwizard.xml index d15082f..70a6e0d 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,69 +1,174 @@ - - + + -self["arrowdown"].moveTo(557, 232, 1) -self["arrowdown"].startMoving() -self["arrowup"].moveTo(800, 232, 1) -self["arrowup"].startMoving() -self["rc"].moveTo(500, 50, 1) -self["rc"].startMoving() +self.clearSelectedKeys() +self.selectKey("OK") - + - + -self["arrowdown"].moveTo(557, 200, 1) -self["arrowup"].moveTo(557, 355, 1) -self["arrowdown"].startMoving() -self["arrowup"].startMoving() -self["rc"].moveTo(500, 50, 1) -self["rc"].startMoving() +self.clearSelectedKeys() +self.selectKey("UP") +self.selectKey("DOWN") - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty and config.misc.startwizard.shownimconfig.value + -self["rc"].moveTo(500, 50, 1) -self["rc"].startMoving() -self["arrowup"].moveTo(525, 320, 1) -self["arrowup"].startMoving() -self["arrowup2"].moveTo(590, 320, 1) -self["arrowup2"].startMoving() -self["arrowdown"].moveTo(740, 355, 1) -self["arrowdown"].startMoving() - +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.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() +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + +self.hideRc() + + + + + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + +self.hideRc() + - - + + + - + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + - - - + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + + + + + + + + + + + + + +if self["list"].index == 0: + config.ParentalControl.configured.value = True +else: + config.ParentalControl.configured.value = False +config.ParentalControl.configured.save() + + + + + + + + + +from ParentalControlSetup import ParentalControlChangePin +if self["list"].index == 0: + self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin")) + + + + +config.ParentalControl.setuppinactive.value = True +config.ParentalControl.setuppinactive.save() +config.ParentalControl.servicepinactive.value = True +config.ParentalControl.servicepinactive.save() +config.ParentalControl.setuppin.value = config.ParentalControl.servicepin[0].value +config.ParentalControl.setuppin.save() + + + + + + +self.condition = self.isLastWizard + + +