summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-19 19:45:05 +0000
committerMike Fulbright <msf@redhat.com>2002-06-19 19:45:05 +0000
commitd8319e893d13756491e08d989a1907b141ce140e (patch)
tree890d823ecabae399363a0026d2ff37e4e03b8ae6
parenta7b6da52feaf812bddbb5e4aa3d35a2d47900de6 (diff)
downloadanaconda-d8319e893d13756491e08d989a1907b141ce140e.tar.gz
anaconda-d8319e893d13756491e08d989a1907b141ce140e.tar.xz
anaconda-d8319e893d13756491e08d989a1907b141ce140e.zip
addresses bug #67033
-rw-r--r--iw/partition_ui_helpers_gui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index 09eb56a99..c998f7b7d 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -137,6 +137,9 @@ def createAllowedDrivesList(disks, reqdrives):
sizestr = "%8.0f MB" % size
drivelist.append_row((drive, sizestr, disks[drive].dev.model),selected)
+ if len(drives) < 2:
+ drivelist.set_sensitive(0)
+
return drivelist
# pass in callback for when fs changes because of python scope issues