diff options
author | Not Zed <NotZed@Ximian.com> | 2003-11-13 11:57:54 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-11-13 11:57:54 +0800 |
commit | 8e302d84a481b9788ca071f824af598176e78df8 (patch) | |
tree | a527579a23ea5bec3179d82757472962010c2e52 /mail/em-format-html.h | |
parent | 61b1ec94bae6c13d7d1f6dade48a51bfc40f04ef (diff) | |
download | gsoc2013-evolution-8e302d84a481b9788ca071f824af598176e78df8.tar.gz gsoc2013-evolution-8e302d84a481b9788ca071f824af598176e78df8.tar.zst gsoc2013-evolution-8e302d84a481b9788ca071f824af598176e78df8.zip |
implement the key selector popup using e-cert-selector.
2003-11-12 Not Zed <NotZed@Ximian.com>
* mail-account-gui.c (smime_sign_key_select)
(smime_encrypt_key_select, smime_encrypt_key_selected)
(smime_sign_key_selected): implement the key selector popup using
e-cert-selector.
2003-11-11 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_application_xpkcs7mime): output icons of the status.
(em_format_html_add_pobject): Changed to take a size specificier,
return the pobject, and re-ordered args to be more consistent with
puri stuff.
(em_format_html_remove_pobject): handle the free callback if set.
* em-format.c (emf_application_xpkcs7mime): moved this to
em-format-html since it needs to do icon stuff.
svn path=/trunk/; revision=23312
Diffstat (limited to 'mail/em-format-html.h')
-rw-r--r-- | mail/em-format-html.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/em-format-html.h b/mail/em-format-html.h index 31675f62fd..892a6d8461 100644 --- a/mail/em-format-html.h +++ b/mail/em-format-html.h @@ -79,6 +79,7 @@ typedef gboolean (*EMFormatHTMLPObjectFunc)(EMFormatHTML *md, struct _GtkHTMLEmb struct _EMFormatHTMLPObject { struct _EMFormatHTMLPObject *next, *prev; + void (*free)(struct _EMFormatHTMLPObject *); struct _EMFormatHTML *format; char *classid; @@ -105,6 +106,8 @@ struct _EMFormatHTML { EDList pending_object_list; + struct _CamelCipherValidity *enveloped_validity; + GSList *headers; guint32 text_html_flags; /* default flags for text to html conversion */ @@ -139,8 +142,8 @@ void em_format_html_format_headers(EMFormatHTML *efh, struct _CamelStream *strea struct _CamelMimePart *em_format_html_file_part(EMFormatHTML *efh, const char *mime_type, const char *path, const char *name); /* for implementers */ -const char *em_format_html_add_pobject(EMFormatHTML *efh, const char *classid, EMFormatHTMLPObjectFunc func, struct _CamelMimePart *part); -EMFormatHTMLPObject * em_format_html_find_pobject(EMFormatHTML *emf, const char *classid); +EMFormatHTMLPObject *em_format_html_add_pobject(EMFormatHTML *efh, size_t size, const char *classid, struct _CamelMimePart *part, EMFormatHTMLPObjectFunc func); +EMFormatHTMLPObject *em_format_html_find_pobject(EMFormatHTML *emf, const char *classid); EMFormatHTMLPObject *em_format_html_find_pobject_func(EMFormatHTML *emf, struct _CamelMimePart *part, EMFormatHTMLPObjectFunc func); void em_format_html_remove_pobject(EMFormatHTML *emf, EMFormatHTMLPObject *pobject); void em_format_html_clear_pobject(EMFormatHTML *emf); |