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-folder-view.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-folder-view.c')
-rw-r--r-- | mail/em-folder-view.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index e91cfc4a3f..2f83ec768c 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -527,7 +527,7 @@ emfv_popup_forward(GtkWidget *w, EMFolderView *emfv) return; uids = message_list_get_selected(emfv->list); - em_utils_forward_messages (emfv->folder, uids); + em_utils_forward_messages (emfv->folder, uids, emfv->folder_uri); } static void @@ -1047,7 +1047,7 @@ emfv_message_forward_attached (BonoboUIComponent *uic, void *data, const char *p return; uids = message_list_get_selected (emfv->list); - em_utils_forward_attached (emfv->folder, uids); + em_utils_forward_attached (emfv->folder, uids, emfv->folder_uri); } static void @@ -1060,7 +1060,7 @@ emfv_message_forward_inline (BonoboUIComponent *uic, void *data, const char *pat return; uids = message_list_get_selected (emfv->list); - em_utils_forward_inline (emfv->folder, uids); + em_utils_forward_inline (emfv->folder, uids, emfv->folder_uri); } static void @@ -1073,7 +1073,7 @@ emfv_message_forward_quoted (BonoboUIComponent *uic, void *data, const char *pat return; uids = message_list_get_selected (emfv->list); - em_utils_forward_quoted (emfv->folder, uids); + em_utils_forward_quoted (emfv->folder, uids, emfv->folder_uri); } static void @@ -1909,7 +1909,7 @@ static void emfv_format_link_clicked(EMFormatHTMLDisplay *efhd, const char *uri, EMFolderView *emfv) { if (!strncasecmp (uri, "mailto:", 7)) { - em_utils_compose_new_message_with_mailto (uri); + em_utils_compose_new_message_with_mailto (uri, emfv->folder_uri); } else if (*uri == '#') { gtk_html_jump_to_anchor (((EMFormatHTML *) efhd)->html, uri + 1); } else if (!strncasecmp (uri, "thismessage:", 12)) { |