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 --- .../Plugins/SystemPlugins/Videomode/VideoWizard.py | 9 ++++++--- lib/python/Plugins/SystemPlugins/Videomode/lcd_DVI.png | Bin 1033 -> 291 bytes .../Plugins/SystemPlugins/Videomode/lcd_Scart.png | Bin 1088 -> 362 bytes .../Plugins/SystemPlugins/Videomode/lcd_YPbPr.png | Bin 1052 -> 312 bytes 4 files changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/python/Plugins') 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() diff --git a/lib/python/Plugins/SystemPlugins/Videomode/lcd_DVI.png b/lib/python/Plugins/SystemPlugins/Videomode/lcd_DVI.png index 715dbe48..f6fb7b7e 100644 Binary files a/lib/python/Plugins/SystemPlugins/Videomode/lcd_DVI.png and b/lib/python/Plugins/SystemPlugins/Videomode/lcd_DVI.png differ diff --git a/lib/python/Plugins/SystemPlugins/Videomode/lcd_Scart.png b/lib/python/Plugins/SystemPlugins/Videomode/lcd_Scart.png index 45c397de..bab5cf0e 100644 Binary files a/lib/python/Plugins/SystemPlugins/Videomode/lcd_Scart.png and b/lib/python/Plugins/SystemPlugins/Videomode/lcd_Scart.png differ diff --git a/lib/python/Plugins/SystemPlugins/Videomode/lcd_YPbPr.png b/lib/python/Plugins/SystemPlugins/Videomode/lcd_YPbPr.png index 16f3849a..cfa8b10e 100644 Binary files a/lib/python/Plugins/SystemPlugins/Videomode/lcd_YPbPr.png and b/lib/python/Plugins/SystemPlugins/Videomode/lcd_YPbPr.png differ -- cgit v1.2.3