aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-03 20:44:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-03 20:44:09 +0800
commitd01aa22bff2ff699aebace64fc45d87b02936595 (patch)
tree6dfee01a2ca2770f406eccf3ae15962f0be82f7f /mail/mail-component.c
parente24fd5f7d15b9a97812764d1598a267204fc4479 (diff)
downloadgsoc2013-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/mail-component.c')
-rw-r--r--mail/mail-component.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}