diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-08-05 17:38:15 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-08-05 17:38:15 +0200 |
| commit | 344ffd10a4f5b54546fe5e382dbf40a8cf7ecdbb (patch) | |
| tree | 86d3ec7e544a3daa038299cefdc38c147f6dc846 /lib/python | |
| parent | 54f1c13b2a5979606411117108b60183b0835a85 (diff) | |
| download | enigma2-344ffd10a4f5b54546fe5e382dbf40a8cf7ecdbb.tar.gz enigma2-344ffd10a4f5b54546fe5e382dbf40a8cf7ecdbb.zip | |
Plugins/Videomode/VideoHardware.py: remove DVI-PC when not DVI-PC modes are usable
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index 64f79e04..71529a03 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py @@ -95,6 +95,10 @@ class VideoHardware: self.readAvailableModes() + if self.modes.has_key("DVI-PC") and not self.getModeList("DVI-PC"): + print "remove DVI-PC because of not existing modes" + del self.modes["DVI-PC"] + self.createConfig() # self.on_hotplug.append(self.createConfig) |
