From 327ae996e0a3a685dff1663f600493e103adb098 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 1 May 2008 16:58:12 +0000 Subject: [PATCH] reenable PC mode video selection for dvi ports in the video wizard --- .../Plugins/SystemPlugins/Videomode/VideoWizard.py | 2 +- .../Plugins/SystemPlugins/Videomode/videowizard.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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") -- 2.30.2