[PATCH 3/4] The raid level combo cannot be not sensitive for preexisting devices.
David Lehman
dlehman at redhat.com
Fri Apr 5 17:12:23 UTC 2013
---
pyanaconda/ui/gui/spokes/custom.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 77e308d..394408b 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1383,6 +1383,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
selectedDeviceDescLabel = self.builder.get_object("selectedDeviceDescLabel")
typeCombo = self.builder.get_object("deviceTypeCombo")
fsCombo = self.builder.get_object("fileSystemTypeCombo")
+ raidLevelCombo = self.builder.get_object("raidLevelCombo")
device = selector._device
if device.type == "luks/dm-crypt":
@@ -1573,6 +1574,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# you can't change the type of an existing device
typeCombo.set_sensitive(not use_dev.exists)
+ raidLevelCombo.set_sensitive(not use_dev.exists)
# you can't encrypt a btrfs subvolume -- only the volume/container
encryptCheckbox.set_sensitive(device_type != DEVICE_TYPE_BTRFS)
--
1.8.1.4
More information about the anaconda-patches
mailing list