diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-03 20:44:09 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-03 20:44:09 +0800 |
commit | d01aa22bff2ff699aebace64fc45d87b02936595 (patch) | |
tree | 6dfee01a2ca2770f406eccf3ae15962f0be82f7f /mail/em-popup.c | |
parent | e24fd5f7d15b9a97812764d1598a267204fc4479 (diff) | |
download | gsoc2013-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-popup.c')
-rw-r--r-- | mail/em-popup.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 |