aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-03 20:44:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-03 20:44:09 +0800
commitd01aa22bff2ff699aebace64fc45d87b02936595 (patch)
tree6dfee01a2ca2770f406eccf3ae15962f0be82f7f /mail/em-composer-utils.h
parente24fd5f7d15b9a97812764d1598a267204fc4479 (diff)
downloadgsoc2013-evolution-d01aa22bff2ff699aebace64fc45d87b02936595.tar.gz
gsoc2013-evolution-d01aa22bff2ff699aebace64fc45d87b02936595.tar.zst
gsoc2013-evolution-d01aa22bff2ff699aebace64fc45d87b02936595.zip
take fromuri and subject to set the basic headers/account.
2004-05-03 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (create_new_composer): take fromuri and subject to set the basic headers/account. (em_utils_compose_new_message) (em_utils_compose_new_message_with_mailto, forward_attached) (em_utils_forward_attached, forward_non_attached) (em_utils_forward_inline, em_utils_forward_quoted) (em_utils_forward_message, em_utils_forward_messages): Take the from folder uri to set the from account if it can. Fixed all callers. For #57964. svn path=/trunk/; revision=25747
Diffstat (limited to 'mail/em-composer-utils.h')
-rw-r--r--mail/em-composer-utils.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index 01972f1fa2..7498b0b43b 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -42,22 +42,22 @@ void em_composer_utils_setup_callbacks (struct _EMsgComposer *composer, struct _
void em_utils_composer_send_cb(struct _EMsgComposer *composer, gpointer user_data);
void em_utils_composer_save_draft_cb(struct _EMsgComposer *composer, int quit, gpointer user_data);
-void em_utils_compose_new_message (void);
+void em_utils_compose_new_message (const char *fromuri);
/* FIXME: mailto? url? should make up its mind what its called. imho use 'uri' */
-void em_utils_compose_new_message_with_mailto (const char *url);
+void em_utils_compose_new_message_with_mailto (const char *url, const char *fromuri);
void em_utils_post_to_folder (struct _CamelFolder *folder);
void em_utils_post_to_url (const char *url);
void em_utils_edit_message (struct _CamelMimeMessage *message);
void em_utils_edit_messages (struct _CamelFolder *folder, GPtrArray *uids);
-void em_utils_forward_attached (struct _CamelFolder *folder, GPtrArray *uids);
-void em_utils_forward_inline (struct _CamelFolder *folder, GPtrArray *uids);
-void em_utils_forward_quoted (struct _CamelFolder *folder, GPtrArray *uids);
+void em_utils_forward_attached (struct _CamelFolder *folder, GPtrArray *uids, const char *fromuri);
+void em_utils_forward_inline (struct _CamelFolder *folder, GPtrArray *uids, const char *fromuri);
+void em_utils_forward_quoted (struct _CamelFolder *folder, GPtrArray *uids, const char *fromuri);
-void em_utils_forward_message (struct _CamelMimeMessage *msg);
-void em_utils_forward_messages (struct _CamelFolder *folder, GPtrArray *uids);
+void em_utils_forward_message (struct _CamelMimeMessage *msg, const char *fromuri);
+void em_utils_forward_messages (struct _CamelFolder *folder, GPtrArray *uids, const char *fromuri);
void em_utils_redirect_message (struct _CamelMimeMessage *message);
void em_utils_redirect_message_by_uid (struct _CamelFolder *folder, const char *uid);