summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-01-31 16:05:02 +0000
committerErik Troan <ewt@redhat.com>2000-01-31 16:05:02 +0000
commit12ba4aecc913ec0af868652156789d8883c578ca (patch)
treec4dd6724c4a340342676414f98ecfb6fba3f494a /iw
parent80ce1185ca553346a408ff89adeda20a0de23f46 (diff)
downloadanaconda-12ba4aecc913ec0af868652156789d8883c578ca.tar.gz
anaconda-12ba4aecc913ec0af868652156789d8883c578ca.tar.xz
anaconda-12ba4aecc913ec0af868652156789d8883c578ca.zip
use bad block check state in fstab
Diffstat (limited to 'iw')
-rw-r--r--iw/format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/format.py b/iw/format.py
index 7d6dfc585..07b59f148 100644
--- a/iw/format.py
+++ b/iw/format.py
@@ -22,7 +22,7 @@ class FormatWindow (InstallWindow):
todo.fstab.setFormatFilesystem(dev, 0)
def check (widget, todo):
- todo.badBlockCheck = widget.get_active ()
+ todo.fstab.setBadBlockCheck(widget.get_active ())
box = GtkVBox (FALSE, 10)
@@ -45,7 +45,7 @@ class FormatWindow (InstallWindow):
vbox.pack_start (GtkHSeparator (), FALSE, padding=3)
self.check = GtkCheckButton (_("Check for bad blocks while formatting"))
- self.check.set_active (self.todo.badBlockCheck)
+ self.check.set_active (self.todo.fstab.getBadBlockCheck())
self.check.connect ("toggled", check, self.todo)
vbox.pack_start (self.check, FALSE)