diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2001-01-13 05:13:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-13 05:13:26 +0800 |
commit | 8ad2b343a02b954f2393e08deece19861352329e (patch) | |
tree | 4eb49b0956aeda5cbec9ef6ee51967202f5f52b3 /composer/e-msg-composer.h | |
parent | d9a01d4e270df5a5332808b4c2e34f688f65d10b (diff) | |
download | gsoc2013-evolution-8ad2b343a02b954f2393e08deece19861352329e.tar.gz gsoc2013-evolution-8ad2b343a02b954f2393e08deece19861352329e.tar.zst gsoc2013-evolution-8ad2b343a02b954f2393e08deece19861352329e.zip |
Call set_from_account which means we no longer have to do all the crap
2001-01-12 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (build_message): Call set_from_account which
means we no longer have to do all the crap involved in formatting
strings into an internet-address.
(e_msg_composer_get_preferred_account): New access function.
* e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to
OPTIOMENU.
(create_optionmenu): Update to use an optionmenu of accounts.
(from_changed): New callback for the From optionmenu.
(setup_headers): s/COMBOBOX/OPTIONMENU
(init): Set the account and from_options to NULL.
(e_msg_composer_hdrs_get_from): Updated.
(destroy): free the from_options.
(e_msg_composer_hdrs_set_from_address): Renamed from set_from
because it no longer takes a string arg but rather an account arg.
svn path=/trunk/; revision=7458
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index f50832fd4c..529321aa89 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -34,6 +34,8 @@ typedef struct _EMsgComposerClass EMsgComposerClass; #include "e-msg-composer-hdrs.h" #include "Editor.h" +#include <mail/mail-config.h> + #ifdef __cplusplus extern "C" { #pragma } @@ -115,6 +117,9 @@ void e_msg_composer_set_send_html (EMsgComposer *compose gboolean e_msg_composer_get_send_html (EMsgComposer *composer); void e_msg_composer_set_pgp_sign (EMsgComposer *composer, gboolean pgp_sign); + +const MailConfigAccount *e_msg_composer_get_preferred_account (EMsgComposer *composer); + gboolean e_msg_composer_get_pgp_sign (EMsgComposer *composer); void e_msg_composer_set_pgp_encrypt (EMsgComposer *composer, gboolean pgp_encrypt); |