X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9c8a325f71cb5144d84e44885977ef24841ab6d5..aece969ad2b26fb6827f6c8d53622a67522f46b4:/data/startwizard.xml?ds=sidebyside diff --git a/data/startwizard.xml b/data/startwizard.xml index 79b9fa85..8fcf8f41 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,13 +1,9 @@ - + -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") @@ -17,127 +13,123 @@ self["rc"].startMoving() -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() +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 +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 +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].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) > 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 - + -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) > 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 - + -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") + + + +self.condition = config.misc.startwizard.doservicescan.value + + +self.hideRc() + + + + + + + + +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() +self.hideRc() - + - + + +self.condition = config.misc.startwizard.doservicescan.value + + +self.condition = config.misc.startwizard.doservicescan.value + + +self.condition = config.misc.startwizard.doservicescan.value + - + - + -if self["list"].getSelectedIndex() == 0: +if self["list"].index == 0: config.ParentalControl.configured.value = True else: config.ParentalControl.configured.value = False @@ -152,7 +144,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")) @@ -169,6 +161,6 @@ config.ParentalControl.setuppin.save() - +