X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=data%2Fstartwizard.xml;h=368b301ea8378295c3f6ae50f4224eb9bd89a97d;hb=a49c13f0e72b875083fbbe349ea84516f76e10e5;hp=c38558d01de924e853072897ea3ce5d2b0d01c3a;hpb=1a1ed192c7d9009498b004f52334e3c705380a1c;p=vuplus_dvbapp diff --git a/data/startwizard.xml b/data/startwizard.xml index c38558d..368b301 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,71 +1,174 @@ - - + + -self["arrowdown"].moveTo(557, 232, 10) -self["rc"].moveTo(500, 50, 10) +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["arrowdown"].moveTo(557, 200, 10) -self["arrowup"].moveTo(557, 355, 10) +self["arrowup2"].moveTo(800, 320, 1) +self["arrowup2"].startMoving() +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() - - - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty + + + -self["arrowup"].moveTo(740, 355, 10) +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty + - + -self["arrowup"].moveTo(740, 355, 10) +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() - - - - + + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty + + + -self["arrowup"].moveTo(740, 355, 10) +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() - - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty + + + -self["arrowdown"].moveTo(740, 200, 10) -self["arrowup"].moveTo(740, 355, 10) -self["arrowdown"].startMoving() +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) self["arrowup"].startMoving() -self["rc"].moveTo(500, 600, 5) +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) +self["arrowdown"].startMoving() + + + + + +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() - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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() + + + + + + +