aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 7c9ebbea40..e3b2f67253 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_new_from_url): Add support for
+ an attach option in the mailto: url.
+
2002-10-29 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Make sure to
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e4644f1f30..60e06c0006 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3719,8 +3719,10 @@ e_msg_composer_new_from_url (const char *url_in)
} else if (!g_strncasecmp (header, "body", len)) {
g_free (body);
body = g_strdup (content);
+ } else if (!g_strncasecmp (header, "attach", len)) {
+ e_msg_composer_attachment_bar_attach (E_MSG_COMPOSER_ATTACHMENT_BAR (composer->attachment_bar), content);
} else {
- /* add an arbitrary header */
+ /* add an arbitrary header? */
e_msg_composer_add_header (composer, header, content);
}