[PATCH] Only allow changing filesystem type if the reformat combo is checked (#885906).

Brian C. Lane bcl at redhat.com
Tue Dec 11 22:16:17 UTC 2012


On Tue, Dec 11, 2012 at 12:54:17PM -0500, Chris Lumens wrote:
> We were doing fine at this except for one case, where the contents of the
> customize combo are displayed for the first time.
> ---
>  pyanaconda/ui/gui/spokes/custom.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index 048b0dc..78047a9 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -2408,6 +2408,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
>  
>          fsCombo.set_active(active_index)
>          fsCombo.set_sensitive(self._reformatCheckbox.get_sensitive() and
> +                              self._reformatCheckbox.get_active() and
>                                fs_type_sensitive)
>          # end btrfs magic
>  
> -- 
> 1.7.11.2

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20121211/837ee7ec/attachment.sig>


More information about the anaconda-patches mailing list