diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-13 08:05:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-13 08:05:02 +0800 |
commit | b1f9622c1aadb6483aacde2bf3548158932f512a (patch) | |
tree | 0d63ac365abd1dee28b68d4a65294f41b683cb36 /composer/e-msg-composer-hdrs.h | |
parent | 8ea5c96560b29591eede8258b48b74619ab00fb8 (diff) | |
download | gsoc2013-evolution-b1f9622c1aadb6483aacde2bf3548158932f512a.tar.gz gsoc2013-evolution-b1f9622c1aadb6483aacde2bf3548158932f512a.tar.zst gsoc2013-evolution-b1f9622c1aadb6483aacde2bf3548158932f512a.zip |
Added view_replyto member.
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.h: Added view_replyto member.
* e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if
we want to view the Reply-To header.
(e_msg_composer_set_view_replyto): A new function to set the state
of the replyto header.
(menu_view_replyto_cb): Callback for setting the ReplyTo state.
(set_config): Make static.
(setup_ui): Setup the ReplyTo bonobo stuff.
(load_from_property_bag): More defaults for the ReplyTo, yay.
(load_from_gnome_config): Again...
(e_msg_composer_get_view_bcc): Implemented.
(e_msg_composer_get_view_cc): Implemented.
(e_msg_composer_get_view_from): Implemented.
(e_msg_composer_get_view_replyto): Implemented.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry):
New function, yay.
(e_msg_composer_hdrs_get_reply_to): Another new function.
(e_msg_composer_hdrs_set_reply_to): Yet another new function...
(create_headers): Create the reply-to header.
(attach_headers): Attach the reply_to.
(headers_set_visibility): Set the reply_to visibility.
(e_msg_composer_hdrs_to_message): Set the message's reply-to here
based on the user-set reply-to header.
svn path=/trunk/; revision=8657
Diffstat (limited to 'composer/e-msg-composer-hdrs.h')
-rw-r--r-- | composer/e-msg-composer-hdrs.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/composer/e-msg-composer-hdrs.h b/composer/e-msg-composer-hdrs.h index 9a32aee0fc..7d8d985825 100644 --- a/composer/e-msg-composer-hdrs.h +++ b/composer/e-msg-composer-hdrs.h @@ -66,9 +66,10 @@ struct _EMsgComposerHdrsClass { typedef enum { E_MSG_COMPOSER_VISIBLE_FROM = 1, - E_MSG_COMPOSER_VISIBLE_CC = 2, - E_MSG_COMPOSER_VISIBLE_BCC = 4, - E_MSG_COMPOSER_VISIBLE_SUBJECT = 8 + E_MSG_COMPOSER_VISIBLE_REPLYTO = 2, + E_MSG_COMPOSER_VISIBLE_CC = 4, + E_MSG_COMPOSER_VISIBLE_BCC = 8, + E_MSG_COMPOSER_VISIBLE_SUBJECT = 16 } EMsgComposerHeaderVisibleFlags; @@ -80,6 +81,8 @@ void e_msg_composer_hdrs_to_message (EMsgComposerHdrs *hdrs, void e_msg_composer_hdrs_set_from_account (EMsgComposerHdrs *hdrs, const char *account_name); +void e_msg_composer_hdrs_set_reply_to (EMsgComposerHdrs *hdrs, + const char *reply_to); void e_msg_composer_hdrs_set_to (EMsgComposerHdrs *hdrs, const GList *to_list); void e_msg_composer_hdrs_set_cc (EMsgComposerHdrs *hdrs, @@ -90,11 +93,13 @@ void e_msg_composer_hdrs_set_subject (EMsgComposerHdrs *hdrs, const char *subject); CamelInternetAddress *e_msg_composer_hdrs_get_from (EMsgComposerHdrs *hdrs); +CamelInternetAddress *e_msg_composer_hdrs_get_reply_to (EMsgComposerHdrs *hdrs); GList *e_msg_composer_hdrs_get_to (EMsgComposerHdrs *hdrs); GList *e_msg_composer_hdrs_get_cc (EMsgComposerHdrs *hdrs); GList *e_msg_composer_hdrs_get_bcc (EMsgComposerHdrs *hdrs); char *e_msg_composer_hdrs_get_subject (EMsgComposerHdrs *hdrs); +GtkWidget *e_msg_composer_hdrs_get_reply_to_entry (EMsgComposerHdrs *hdrs); GtkWidget *e_msg_composer_hdrs_get_to_entry (EMsgComposerHdrs *hdrs); GtkWidget *e_msg_composer_hdrs_get_cc_entry (EMsgComposerHdrs *hdrs); GtkWidget *e_msg_composer_hdrs_get_bcc_entry (EMsgComposerHdrs *hdrs); |