aboutsummaryrefslogtreecommitdiff
path: root/lib/python
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-26 14:50:07 +0100
commitc75e82f378fef9e9a1c500ffb1696ba02d8fbd9a (patch)
treefe9e08cb9e7dac63a647ae0883d270d318427efb /lib/python
parent0dfedee9efae9f34cea383b5b79dcd71828002b0 (diff)
downloadenigma2-c75e82f378fef9e9a1c500ffb1696ba02d8fbd9a.tar.gz
enigma2-c75e82f378fef9e9a1c500ffb1696ba02d8fbd9a.zip
fixes bug #393
change DVI picture to HDMI picture for dm500hd
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/HDMI.pngbin0 -> 4098 bytes
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/Makefile.am4
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py5
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/lcd_HDMI.pngbin0 -> 261 bytes
4 files changed, 7 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/HDMI.png b/lib/python/Plugins/SystemPlugins/Videomode/HDMI.png
new file mode 100644
index 00000000..5aa83047
--- /dev/null
+++ b/lib/python/Plugins/SystemPlugins/Videomode/HDMI.png
Binary files differ
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/Makefile.am b/lib/python/Plugins/SystemPlugins/Videomode/Makefile.am
index 2ec0b335..1ac1d5dd 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/Makefile.am
+++ b/lib/python/Plugins/SystemPlugins/Videomode/Makefile.am
@@ -16,4 +16,6 @@ dist_install_DATA = \
LICENSE \
Scart.png \
videowizard.xml \
- YPbPr.png
+ YPbPr.png \
+ HDMI.png \
+ lcd_HDMI.png
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
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/lcd_HDMI.png b/lib/python/Plugins/SystemPlugins/Videomode/lcd_HDMI.png
new file mode 100644
index 00000000..425da5c3
--- /dev/null
+++ b/lib/python/Plugins/SystemPlugins/Videomode/lcd_HDMI.png
Binary files differ