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 /iw | |
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 'iw')
-rw-r--r-- | iw/xconfig_gui.py | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index 6a9fd3bfa..385fe5d85 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -433,6 +433,20 @@ class MonitorWindow (InstallWindow): idname = self.currentMonitor monname = self.currentMonitor + # warn user their monitor type is unprobed + if idname == "Unprobed Monitor": + rc = self.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 = [_("Proceed"), + _("Choose monitor type")], + custom_icon="warning") + if rc: + raise gui.StayOnScreen + # XXX - this is messed up - we set the monitor object in instdata # to the current values, then we have to push it into the # xhwstate as well. Need to join this operation somehow. @@ -594,10 +608,11 @@ class MonitorWindow (InstallWindow): (entry, other) = entrys self.enableIfSyncsValid(entry, other) - def getScreen (self, xsetup, monitor): + def getScreen (self, xsetup, monitor, intf): - self.monitor = monitor + self.intf = intf self.xsetup = xsetup + self.monitor = monitor # some flags to let us know when to ignore callbacks we caused self.ignoreEntryChanges = 0 |