diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-02-11 14:02:23 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-02-11 14:02:23 +0000 |
| commit | b6748e04393c47c18453c2d2fda88e315aa9d55d (patch) | |
| tree | 57ee20b453eb9018addb44d752c4d1509dc2194b /lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | |
| parent | 1334dd393c3e099c9196a0f6935aac696bdcf661 (diff) | |
| download | enigma2-b6748e04393c47c18453c2d2fda88e315aa9d55d.tar.gz enigma2-b6748e04393c47c18453c2d2fda88e315aa9d55d.zip | |
re-add question for test card to the video wizard
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index 32052e28..aa0e678b 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -36,6 +36,8 @@ class VideoWizard(Wizard): self.port = None self.mode = None + config.misc.showtestcard = ConfigBoolean(default = False) + def createSummary(self): print "++++++++++++***++**** VideoWizard-createSummary" from Screens.Wizard import WizardSummary @@ -111,3 +113,11 @@ class VideoWizard(Wizard): def rateSelect(self, rate): self.hw.setMode(port = self.port, mode = self.mode, rate = rate) + def showTestCard(self, selection = None): + if selection is None: + selection = self.selection + print "set config.misc.showtestcard to", {'yes': True, 'no': False}[selection] + if selection == "yes": + config.misc.showtestcard.value = True + else: + config.misc.showtestcard.value = False
\ No newline at end of file |
