[PATCH 7/7] Add UI support for encrypted automatic partitioning.

Chris Lumens clumens at redhat.com
Mon Oct 8 20:54:23 UTC 2012


> @@ -405,6 +406,9 @@ class StorageSpoke(NormalSpoke, StorageChecker):
>          self.encrypted = self.data.autopart.encrypted
>          self.passphrase = self.data.autopart.passphrase
>  
> +        encrypt_checkbutton = self.builder.get_object("encryption_checkbutton")
> +        encrypt_checkbutton.set_active(self.encrypted)
> +
>          # update the selections in the ui
>          overviews = self.local_disks_box.get_children()
>          for overview in overviews:

If there's a passphrase already set (via self.data.autopart.passphrase,
above) will it get stuck into the dialog's entry automatically?

- Chris


More information about the anaconda-patches mailing list