diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-12-16 07:14:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-12-16 07:14:57 +0800 |
commit | 1f9b8f9c4eb80dab128458f7f3e49c3a25ff5a00 (patch) | |
tree | 8c68db4cb047352e96a3a684b67ce7e604e3e6fc /composer/e-msg-composer.h | |
parent | ce4bd7a99eaea7274956a0092bf6c867b97dee77 (diff) | |
download | gsoc2013-evolution-1f9b8f9c4eb80dab128458f7f3e49c3a25ff5a00.tar.gz gsoc2013-evolution-1f9b8f9c4eb80dab128458f7f3e49c3a25ff5a00.tar.zst gsoc2013-evolution-1f9b8f9c4eb80dab128458f7f3e49c3a25ff5a00.zip |
New function to get whether or not to encrypt the message.
2000-12-15 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function
to get whether or not to encrypt the message.
(e_msg_composer_set_pgp_encrypt): New function to set encryption.
(e_msg_composer_get_pgp_sign): New function to get whether or not
to sign the message.
(e_msg_composer_set_pgp_sign): New function to set pgp_sign.
(init): Initialize pgp_sign and pgp_encrypt to FALSE.
svn path=/trunk/; revision=7058
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 5c62c34f78..58fd9c689a 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -73,6 +73,8 @@ struct _EMsgComposer { gboolean attachment_bar_visible : 1; gboolean send_html : 1; + gboolean pgp_sign : 1; + gboolean pgp_encrypt : 1; }; struct _EMsgComposerClass { @@ -111,6 +113,12 @@ const char *e_msg_composer_get_sig_file (EMsgComposer *compose void e_msg_composer_set_send_html (EMsgComposer *composer, gboolean send_html); gboolean e_msg_composer_get_send_html (EMsgComposer *composer); +void e_msg_composer_set_pgp_sign (EMsgComposer *composer, + gboolean pgp_sign); +gboolean e_msg_composer_get_pgp_sign (EMsgComposer *composer); +void e_msg_composer_set_pgp_encrypt (EMsgComposer *composer, + gboolean pgp_encrypt); +gboolean e_msg_composer_get_pgp_encrypt (EMsgComposer *composer); void e_msg_composer_clear_inlined_table (EMsgComposer *composer); gchar * e_msg_composer_guess_mime_type (const gchar *file_name); |