summaryrefslogtreecommitdiffstats
path: root/textw/xconfig_text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-01-14 21:22:08 +0000
committerMike Fulbright <msf@redhat.com>2002-01-14 21:22:08 +0000
commitb6b8d4000f4d2387080e29c97d3a2f71f0645591 (patch)
tree4dba950ae8f4d472d6a7e6a1e899aec27e895711 /textw/xconfig_text.py
parentaeffcbb7dc35c3f88c62f2ef637358faff802c32 (diff)
downloadanaconda-b6b8d4000f4d2387080e29c97d3a2f71f0645591.tar.gz
anaconda-b6b8d4000f4d2387080e29c97d3a2f71f0645591.tar.xz
anaconda-b6b8d4000f4d2387080e29c97d3a2f71f0645591.zip
make text mode monitor selection much more 133t
Diffstat (limited to 'textw/xconfig_text.py')
-rw-r--r--textw/xconfig_text.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py
index a97af98d6..ddd0381cf 100644
--- a/textw/xconfig_text.py
+++ b/textw/xconfig_text.py
@@ -271,6 +271,9 @@ class MonitorWindow:
selMonitorName = self.currentMonitor
if selMonitorName[:len(ddc_monitor_string)] == ddc_monitor_string:
selMonitor = self.ddcmon
+ elif selMonitorName == unprobed_monitor_string:
+ selMonitor = (unprobed_monitor_string, unprobed_monitor_string,
+ "31.5", "50-61")
else:
selMonitor = self.monitor.lookupMonitorByName(selMonitorName)
@@ -377,7 +380,7 @@ class MonitorWindow:
man = title
self.monitorslist[title] = self.ddcmon
- self.monitorsnames.append(title)
+ self.monitorsnames.insert(0, title)
# set as current monitor if necessary
if self.origMonitorID == "DDCPROBED" or self.origMonitorID == "Unprobed Monitor":
@@ -393,6 +396,9 @@ class MonitorWindow:
selMonitorName = self.currentMonitor
if selMonitorName[:len(ddc_monitor_string)] == ddc_monitor_string:
selMonitor = self.ddcmon
+ elif selMonitorName == unprobed_monitor_string:
+ selMonitor = (unprobed_monitor_string, unprobed_monitor_string,
+ "31.5", "50-61")
else:
selMonitor = self.monitor.lookupMonitorByName(selMonitorName)
@@ -458,6 +464,9 @@ class MonitorWindow:
selMonitorName = self.currentMonitor
if selMonitorName[:len(ddc_monitor_string)] == ddc_monitor_string:
selMonitor = self.ddcmon
+ elif selMonitorName == unprobed_monitor_string:
+ selMonitor = (unprobed_monitor_string, unprobed_monitor_string,
+ "31.5", "50-61")
else:
selMonitor = self.monitor.lookupMonitorByName(selMonitorName)