aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-01-14 14:11:20 +0100
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-01-14 14:13:07 +0100
commit547ecaf9bfda061aca736aefb04ca0743a6395cc (patch)
tree34737d5477ac28d4e598955140de00583ac08745 /lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
parent2b8451631894b48330eee673493c1dd84e87916c (diff)
downloadenigma2-547ecaf9bfda061aca736aefb04ca0743a6395cc.tar.gz
enigma2-547ecaf9bfda061aca736aefb04ca0743a6395cc.zip
fixes bug #393
change DVI picture to HDMI picture for dm500hd
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index 512bcec3..15f4d516 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@ -99,7 +99,10 @@ class VideoWizard(WizardLanguage, Rc):
print "input selection moved:", self.selection
self.inputSelect(self.selection)
if self["portpic"].instance is not None:
- self["portpic"].instance.setPixmapFromFile(resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Videomode/" + self.selection + ".png"))
+ picname = self.selection
+ if picname == "DVI" and HardwareInfo().get_device_name() == "dm500hd":
+ picname = "HDMI"
+ self["portpic"].instance.setPixmapFromFile(resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Videomode/" + picname + ".png"))
def inputSelect(self, port):
print "inputSelect:", port