[PATCH 2/4] The fs type combo should be sensitive when reformat is checked (#887201).

Chris Lumens clumens at redhat.com
Fri Dec 14 18:38:36 UTC 2012


Reformat being sensitive shouldn't have anything to do with it.  If we are
forcing the user the reformat a filesystem, they should be able to pick what
it's being reformatted with.
---
 pyanaconda/ui/gui/spokes/custom.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 78047a9..3c5aa7c 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1597,8 +1597,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
            device.originalFormat.type not in self._fs_types:
             fsCombo.append_text(device.originalFormat.name)
 
-        fsCombo.set_sensitive(self._reformatCheckbox.get_sensitive() and
-                              self._reformatCheckbox.get_active())
+        fsCombo.set_sensitive(self._reformatCheckbox.get_active())
 
         ##
         ## Set up the device type combo.
@@ -2407,8 +2406,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             active_index = len(fsCombo.get_model()) - 1
 
         fsCombo.set_active(active_index)
-        fsCombo.set_sensitive(self._reformatCheckbox.get_sensitive() and
-                              self._reformatCheckbox.get_active() and
+        fsCombo.set_sensitive(self._reformatCheckbox.get_active() and
                               fs_type_sensitive)
         # end btrfs magic
 
-- 
1.7.11.2



More information about the anaconda-patches mailing list