From a27631694342ad6f77090743b5affddef5e155e0 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 16 Oct 2006 22:37:46 +0000 Subject: add parental control setup to the start wizard --- lib/python/Screens/Wizard.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/Screens/Wizard.py') diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 036c81de..8c4f8867 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -3,6 +3,7 @@ from Screen import Screen import string from Screens.HelpMenu import HelpableScreen +from Components.config import config from Components.Label import Label from Components.Slider import Slider from Components.ActionMap import HelpableActionMap, NumberActionMap @@ -155,6 +156,7 @@ class Wizard(Screen, HelpableScreen): def ok(self): print "OK" currStep = self.currStep + if self.showConfig: if (self.wizard[currStep]["config"]["screen"] != None): # TODO: don't die, if no run() is available @@ -244,6 +246,7 @@ class Wizard(Screen, HelpableScreen): for x in self.wizard[self.currStep]["list"]: self.list.append((_(x[0]), None)) self["list"].l.setList(self.list) + self["list"].moveToIndex(0) if self.showConfig: self["config"].instance.setZPosition(1) -- cgit v1.2.3