From: Stefan Pluecken Date: Thu, 1 May 2008 16:58:12 +0000 (+0000) Subject: reenable PC mode video selection for dvi ports in the video wizard X-Git-Tag: 2.6.0~1268 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/327ae996e0a3a685dff1663f600493e103adb098 reenable PC mode video selection for dvi ports in the video wizard --- diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index f7763893..f46b11c2 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -109,7 +109,7 @@ class VideoWizard(WizardLanguage): list = [] print "modes for port", self.port for mode in self.hw.getModeList(self.port): - if mode[0] != "PC": + #if mode[0] != "PC": list.append((mode[0], mode[0])) print "modeslist:", list return list diff --git a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml index c3cbabe4..8426f249 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml +++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml @@ -31,7 +31,7 @@ self["portpic"].hide() -self.condition = (self.port != "DVI") +self.condition = (self.port != "DVI" or self.mode == "PC") @@ -49,7 +49,7 @@ self["rc"].startMoving() -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode != "PC") @@ -65,7 +65,7 @@ self.rateSelect("60Hz") -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode != "PC") @@ -87,7 +87,7 @@ self.rateSelect("60Hz") -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode != "PC") @@ -102,7 +102,7 @@ self["rc"].startMoving() -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode != "PC")