diff options
author | Mike Fulbright <msf@redhat.com> | 2003-05-14 21:39:28 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-05-14 21:39:28 +0000 |
commit | 1cfaf749874aba4180d59d3d7a6dbddf51b50c76 (patch) | |
tree | b92c63e786349fc9a24c679697a567828e897c69 /textw | |
parent | c8aad4c1ffdf867f46333af10ba51d7f9740b991 (diff) | |
download | anaconda-1cfaf749874aba4180d59d3d7a6dbddf51b50c76.tar.gz anaconda-1cfaf749874aba4180d59d3d7a6dbddf51b50c76.tar.xz anaconda-1cfaf749874aba4180d59d3d7a6dbddf51b50c76.zip |
this change makes it so you are prompted if you monitor was not probed. the prompt occurs after the keyboard and mice screens, so all peripheral questions are at the beginning. previous state of these files tags as before-cambridge-monitor-query-change
Diffstat (limited to 'textw')
-rw-r--r-- | textw/xconfig_text.py | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py index 081c666b7..c97189f63 100644 --- a/textw/xconfig_text.py +++ b/textw/xconfig_text.py @@ -321,8 +321,9 @@ class MonitorWindow: self.vsync = self.origVsync self.currentMonitor = self.origMonitorName - def __call__(self, screen, xsetup, monitor): + def __call__(self, screen, xsetup, monitor, intf): + self.intf = intf self.xsetup = xsetup self.monitor = monitor @@ -441,10 +442,23 @@ class MonitorWindow: hval = self.hsync vval = self.vsync + screen.popWindow() + + if self.currentMonitor == "Unprobed Monitor": + unspecrc = intf.messageWindow(_("Monitor Unspecified"), + _("You have not selected a monitor type. It is " + "recommended you choose the closest matching " + "model in order to have the highest possible " + "display quality."), + type="custom", + custom_buttons = [ _("Choose monitor type"), _("Proceed")], + custom_icon="warning") + if not unspecrc: + continue + if not self.sanityCheckSyncRates(screen, hval, vval): continue - screen.popWindow() break elif rc == "default": self.resetCB(screen) |