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-browser.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-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index b3e9ca92fe..1943d99941 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -626,10 +626,12 @@ emfb_empty_trash(BonoboUIComponent *uid, void *data, const char *path) static void emfb_mail_compose(BonoboUIComponent *uid, void *data, const char *path) { - if (!em_utils_check_user_can_send_mail((GtkWidget *)data)) + EMFolderView *emfv = data; + + if (!em_utils_check_user_can_send_mail((GtkWidget *)emfv)) return; - em_utils_compose_new_message (); + em_utils_compose_new_message(emfv->folder_uri); } static void |