summaryrefslogtreecommitdiffstats
path: root/iw/installpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/installpath.py')
-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):