aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-02 04:26:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-02 04:26:54 +0800
commit9e8d97048803fc6bfbff2d2eb8bacd0d3ec54a77 (patch)
tree9fc750e9962dd22261a745f2c93f0946871c0ef8 /composer
parent5981b82e897e3bd2963e9b0a6018ab169b1dca9d (diff)
downloadgsoc2013-evolution-9e8d97048803fc6bfbff2d2eb8bacd0d3ec54a77.tar.gz
gsoc2013-evolution-9e8d97048803fc6bfbff2d2eb8bacd0d3ec54a77.tar.zst
gsoc2013-evolution-9e8d97048803fc6bfbff2d2eb8bacd0d3ec54a77.zip
Add support for an attach option in the mailto: url.
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. svn path=/trunk/; revision=18489
Diffstat (limited to 'composer')
-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);
}