diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-16 22:37:46 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-16 22:37:46 +0000 |
| commit | a27631694342ad6f77090743b5affddef5e155e0 (patch) | |
| tree | 8b43b8e765f21551c871d99b5191e9c6cb81a1f9 /lib/python/Screens/Wizard.py | |
| parent | d30355fd9062e6333af64e64a9a4847ac76ed73e (diff) | |
| download | enigma2-a27631694342ad6f77090743b5affddef5e155e0.tar.gz enigma2-a27631694342ad6f77090743b5affddef5e155e0.zip | |
add parental control setup to the start wizard
Diffstat (limited to 'lib/python/Screens/Wizard.py')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
