summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-02-03 17:20:27 +0000
committerMike Fulbright <msf@redhat.com>2000-02-03 17:20:27 +0000
commit15e653ad2ec2db54c58d9e99cc5c338dd0929fed (patch)
tree1908d2c833444658e383205ff9dd5c14791be013 /iw
parentb6f53d94e7cc1eac7b71c3cf393161228280ccaf (diff)
downloadanaconda-15e653ad2ec2db54c58d9e99cc5c338dd0929fed.tar.gz
anaconda-15e653ad2ec2db54c58d9e99cc5c338dd0929fed.tar.xz
anaconda-15e653ad2ec2db54c58d9e99cc5c338dd0929fed.zip
make sure disk druid runs in readonly mode when required
Diffstat (limited to 'iw')
-rw-r--r--iw/installpath.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/iw/installpath.py b/iw/installpath.py
index f12821d43..adcaa5192 100644
--- a/iw/installpath.py
+++ b/iw/installpath.py
@@ -139,6 +139,12 @@ class InstallPathWindow (InstallWindow):
self.todo.intf.waitWindow,
self.todo.intf.messageWindow)
+ # set state of disk druid to be read-only if needed
+ if (InstallPathWindow.fdisk.get_active()):
+ self.todo.fstab.setReadonly(1)
+ else:
+ self.todo.fstab.setReadonly(0)
+
self.todo.fstab.setRunDruid(InstallPathWindow.fdisk.get_active())
def toggled (self, widget, type):