summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-23 16:25:49 +0000
committerMatt Wilson <msw@redhat.com>2000-08-23 16:25:49 +0000
commit51d6cd63d0645dcb5e8590b6258c88acb92e6f8e (patch)
tree363042e9baa91a7438bb7fdd63b7f04575ab5722
parent655402e48991e68086bd020a46ab23d95d184d12 (diff)
downloadanaconda-51d6cd63d0645dcb5e8590b6258c88acb92e6f8e.tar.gz
anaconda-51d6cd63d0645dcb5e8590b6258c88acb92e6f8e.tar.xz
anaconda-51d6cd63d0645dcb5e8590b6258c88acb92e6f8e.zip
new manualmodes to keep track of this stuff
-rw-r--r--iw/xconfig_gui.py4
-rw-r--r--xf86config.py1
2 files changed, 4 insertions, 1 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 6522f215e..88de343fe 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -35,6 +35,7 @@ class XCustomWindow (InstallWindow):
if button.get_active ():
newmodes[depth].append (res)
+ self.todo.x.manualModes = newmodes
self.todo.x.setModes(newmodes)
def testPressed (self, widget, *args):
@@ -92,7 +93,8 @@ class XCustomWindow (InstallWindow):
button = GtkCheckButton (res)
self.toggles[depth].append (res, button)
vbox.pack_start (button, FALSE)
- if self.todo.x.modes.has_key(depth) and res in self.todo.x.modes[depth]:
+ if (self.todo.x.manualModes.has_key(depth)
+ and res in self.todo.x.manualModes[depth]):
button.set_active(1)
hbox.pack_start (vbox)
diff --git a/xf86config.py b/xf86config.py
index 407ed51e2..d94456877 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -544,6 +544,7 @@ class XF86Config:
self.probed = 0
self.skip = 0
self.primary = 0
+ self.manualModes = {}
self.modes = { "8" : ["640x480"] }
self.device = None
self.keyRules = "xfree86"