diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-30 03:33:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-30 03:33:08 +0800 |
commit | ac9c64ee1a3da02cf815b2f2d1157cbd79d152d9 (patch) | |
tree | 2b4bec4b92c57d56f43416f5dfdadf2ef99e2bdc /composer/e-msg-composer.h | |
parent | be2809c7b806a311dabea1b69e457f978dff6399 (diff) | |
download | gsoc2013-evolution-ac9c64ee1a3da02cf815b2f2d1157cbd79d152d9.tar.gz gsoc2013-evolution-ac9c64ee1a3da02cf815b2f2d1157cbd79d152d9.tar.zst gsoc2013-evolution-ac9c64ee1a3da02cf815b2f2d1157cbd79d152d9.zip |
If we are in redirect mode, use the original message and set the resent-*
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If we are in redirect mode,
use the original message and set the resent-* headers using
e_msg_composer_hdrs_to_redirect() and then return.
(destroy): Unref the redirected message if it exists.
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_redirect): New
function for a composer in redirect mode.
svn path=/trunk/; revision=15507
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index ba924a32e4..e9c07c3ce2 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -72,11 +72,11 @@ struct _EMsgComposer { BonoboObject *editor_listener; GHashTable *inline_images, *inline_images_by_url; GList *current_images; - + Bonobo_ConfigDatabase config_db; char *charset; - + char *autosave_file; int autosave_fd; @@ -97,6 +97,8 @@ struct _EMsgComposer { gboolean in_signature_insert : 1; gboolean enable_autosave : 1; + + CamelMimeMessage *redirect; }; struct _EMsgComposerClass { @@ -112,6 +114,9 @@ GtkType e_msg_composer_get_type (void); EMsgComposer *e_msg_composer_new (void); EMsgComposer *e_msg_composer_new_with_message (CamelMimeMessage *msg); EMsgComposer *e_msg_composer_new_from_url (const char *url); +EMsgComposer *e_msg_composer_new_redirect (CamelMimeMessage *message, + const char *resent_from); + void e_msg_composer_show_attachments (EMsgComposer *composer, gboolean show); void e_msg_composer_set_headers (EMsgComposer *composer, |