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

David Lehman dlehman at redhat.com
Mon Oct 8 21:24:23 UTC 2012


On Mon, 2012-10-08 at 16:54 -0400, Chris Lumens wrote:
> > @@ -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?

Yes -- near the bottom of PassphraseDialog.refresh.
> 
> - Chris
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches




More information about the anaconda-patches mailing list