summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-10 18:31:18 +0000
committerMatt Wilson <msw@redhat.com>2000-08-10 18:31:18 +0000
commit1fcb4b241b7c070dd062545d7a4a956afeae6eeb (patch)
treec942167ad9d400ab4ae71e73ecfa421d461b8c56 /iw
parent7a88fa4caec3dda444d3ddc359fb1d4726c8abe8 (diff)
downloadanaconda-1fcb4b241b7c070dd062545d7a4a956afeae6eeb.tar.gz
anaconda-1fcb4b241b7c070dd062545d7a4a956afeae6eeb.tar.xz
anaconda-1fcb4b241b7c070dd062545d7a4a956afeae6eeb.zip
1) add a --nofallback option to anaconda such that we can see the
traceback for syntax errors in GUI mode 2) don't over remember custom x modes (#12176) 3) german boot disk messages
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig_gui.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index c9cf34328..bd78e9568 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -35,7 +35,7 @@ class XCustomWindow (InstallWindow):
if button.get_active ():
newmodes[depth].append (res)
- self.todo.x.modes = newmodes
+ self.todo.x.setModes(newmodes)
def testPressed (self, widget, *args):
newmodes = {}
@@ -77,19 +77,23 @@ class XCustomWindow (InstallWindow):
self.todo.x.monName == 'Sony GDM-W900')):
self.todo.x.modes["8"].append("1920x1200")
+ available = self.todo.x.availableModes()
+ availableDepths = available.keys()
+ availableDepths.sort (self.numCompare)
depths = self.todo.x.modes.keys ()
depths.sort (self.numCompare)
self.toggles = {}
- for depth in depths:
+ for depth in availableDepths:
self.toggles[depth] = []
vbox = GtkVBox (FALSE, 5)
vbox.pack_start (GtkLabel (depth + _("Bits per Pixel")), FALSE)
- for res in self.todo.x.modes[depth]:
+ for res in available[depth]:
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]:
+ button.set_active(1)
hbox.pack_start (vbox)