X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b4f98a4602ab1b51bf03f989ece928214cafd46b..50d5aff4b1e51eb3b0e014b0b0d519fbdb63c844:/data/startwizard.xml diff --git a/data/startwizard.xml b/data/startwizard.xml index c5afe700..a6b773e1 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -73,7 +73,8 @@ self.selectKey("RIGHT") -self.condition = config.misc.startwizard.doservicescan.value +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() self.hideRc() @@ -87,7 +88,8 @@ self.hideRc() -self.condition = config.misc.startwizard.doservicescan.value +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() self.hideRc() @@ -100,21 +102,24 @@ self.hideRc() -self.condition = config.misc.startwizard.doservicescan.value +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() -self.condition = config.misc.startwizard.doservicescan.value +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() -self.condition = config.misc.startwizard.doservicescan.value +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() @@ -137,10 +142,10 @@ config.ParentalControl.configured.save() - + - + from ParentalControlSetup import ParentalControlChangePin @@ -148,9 +153,15 @@ if self["list"].index == 0: self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin")) + + + -config.ParentalControl.setuppinactive.value = True +if config.ParentalControl.setuppin.value == "aaaa": + config.ParentalControl.setuppinactive.value = False +else: + config.ParentalControl.setuppinactive.value = True config.ParentalControl.setuppinactive.save() config.ParentalControl.servicepinactive.value = True config.ParentalControl.servicepinactive.save() @@ -160,7 +171,10 @@ config.ParentalControl.setuppin.save() - - + + +self.condition = self.isLastWizard + +