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/mail-component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index 102a012523..c40095ed3d 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -723,7 +723,7 @@ create_item(const char *type, EMFolderTreeModel *model, const char *uri) if (!em_utils_check_user_can_send_mail(NULL)) return 0; - em_utils_compose_new_message(); + em_utils_compose_new_message(uri); } else if (strcmp(type, "folder") == 0) { EMFolderTree *folder_tree; GtkWidget *dialog; @@ -768,7 +768,7 @@ impl_handleURI (PortableServer_Servant servant, const char *uri, CORBA_Environme if (!em_utils_check_user_can_send_mail(NULL)) return; - em_utils_compose_new_message_with_mailto (uri); + em_utils_compose_new_message_with_mailto (uri, NULL); } } -- cgit v1.2.3