Make GcrGnupgCollection (and GcrGnupgKey?) public
Submitted by Matthew Barnes
Link to original bug (#678506)
Description
Created attachment 216876 Evolution OpenPGP Settings
I'm interested in making Evolution more tightly integrated with your crypto libraries. This is also a learning process for me, so I'm taking baby steps.
I thought an easy place to start would be replacing our GPG Key ID text entry box in account preferences with a GcrComboSelector so available keys are all listed and users can just pick one.
(see attached screenshot)
However for this to work I guess the GcrGnupgCollection class needs to be made public so I can load it from Evolution. I'm attaching a patch to do so.
It looks like GcrGnupgCollection elements are GcrGnupgKey's, which are also private. Should that class be made public as well? For my use case I only need the key ID for the selected combo box item, which I guess I could get through g_object_get().
Attachment 216876, "Evolution OpenPGP Settings":
Version: 3.4.x