From feba724e9e6b6f6a389530e3bb67132c0b56da1c Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 30 Mar 2008 14:23:37 +0000 Subject: allow language selection in video wizard --- lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py') diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index cb64f9ac..18b20f6e 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -1,4 +1,5 @@ -from Screens.Wizard import Wizard, wizardManager, WizardSummary +from Screens.Wizard import wizardManager, WizardSummary +from Screens.WizardLanguage import WizardLanguage import sys from VideoHardware import video_hw @@ -31,7 +32,7 @@ class VideoWizardSummary(WizardSummary): def setLCDPic(self, file): self["pic"].instance.setPixmapFromFile(file) -class VideoWizard(Wizard): +class VideoWizard(WizardLanguage): skin = """ @@ -40,6 +41,8 @@ class VideoWizard(Wizard): + + @@ -52,7 +55,7 @@ class VideoWizard(Wizard): self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Videomode/videowizard.xml") self.hw = video_hw - Wizard.__init__(self, session, showSteps = False, showStepSlider = False) + WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False) self["wizard"] = Pixmap() self["rc"] = MovingPixmap() self["portpic"] = Pixmap() -- cgit v1.2.3