X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/a27631694342ad6f77090743b5affddef5e155e0..9ace786618bc1628590b52da215efeae8329d7d9:/data/startwizard.xml diff --git a/data/startwizard.xml b/data/startwizard.xml index eb16c263..8e054fb6 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,5 +1,5 @@ - + self["arrowdown"].moveTo(557, 232, 1) @@ -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() @@ -99,8 +99,30 @@ self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() + + + +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.condition = config.misc.startwizard.doservicescan.value + self["rc"].moveTo(800, 50, 1) self["rc"].startMoving() @@ -112,32 +134,41 @@ self["arrowup2"].startMoving() - + - + + +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 +183,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"))