diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-04 19:31:43 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-04 19:31:43 +0000 |
commit | 9ccb362378a3ab78c5f2bf2312fbab70460a4714 (patch) | |
tree | e01e81a8a37f37d50d8e7c228923f5c1d568f557 /xf86config.py | |
parent | 398ab3e9c82ace292940e57389f92e67c78cbe89 (diff) | |
download | anaconda-9ccb362378a3ab78c5f2bf2312fbab70460a4714.tar.gz anaconda-9ccb362378a3ab78c5f2bf2312fbab70460a4714.tar.xz anaconda-9ccb362378a3ab78c5f2bf2312fbab70460a4714.zip |
sort modes in version 4 config, list largest first. Fixed unprobed monitor
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xf86config.py b/xf86config.py index 089b8fe89..2e2bcae71 100644 --- a/xf86config.py +++ b/xf86config.py @@ -1008,8 +1008,6 @@ Section "Device" if self.monSect: monitor = "Probed Monitor" - elif self.monID == "Unprobed Monitor": - monitor = "Generic Monitor" else: monitor = self.monID @@ -1086,7 +1084,10 @@ Section "Screen" Subsection "Display" Depth %s Modes """ % depth - for res in self.modes[depth]: + + modes = self.modes[depth] + modes.sort (self.areaCompare) + for res in modes: screens = screens + '"' + res + '" ' screens = screens + """ EndSubsection |