From d01aa22bff2ff699aebace64fc45d87b02936595 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 3 May 2004 12:44:09 +0000 Subject: take fromuri and subject to set the basic headers/account. 2004-05-03 Not Zed * 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 --- mail/em-popup.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mail/em-popup.c') diff --git a/mail/em-popup.c b/mail/em-popup.c index 70d324740f..57c4264a82 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -796,9 +796,10 @@ static void emp_part_popup_forward (GtkWidget *w, EMPopupTarget *t) { CamelMimeMessage *message; - + + /* TODO: have a emfv specific override so we can get the parent folder uri */ message = (CamelMimeMessage *) camel_medium_get_content_object ((CamelMedium *) t->data.part.part); - em_utils_forward_message (message); + em_utils_forward_message (message, NULL); } static EMPopupItem emp_standard_object_popups[] = { @@ -832,7 +833,8 @@ emp_uri_popup_link_open(GtkWidget *w, EMPopupTarget *t) static void emp_uri_popup_address_send (GtkWidget *w, EMPopupTarget *t) { - em_utils_compose_new_message_with_mailto (t->data.uri); + /* TODO: have an emfv specific override to get the from uri */ + em_utils_compose_new_message_with_mailto (t->data.uri, NULL); } static void -- cgit