diff options
-rw-r--r-- | composer/ChangeLog | 7 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 9efd0c7769..edd6395386 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2004-08-17 Michael Meeks <michael@ximian.com> + + * e-msg-composer.c (handle_mailto): handle 'attachment' as + well, as per Mozilla's mangling, and the new desktop-launch spec. + [ this was approved months ago, but somehow never got committed ] + ** See bug #65592 + 2004-09-08 Not Zed <NotZed@Ximian.com> ** See bug #64454. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 2fd958fe01..e72df878f8 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4168,9 +4168,10 @@ handle_mailto (EMsgComposer *composer, const char *mailto) body[nwritten] = '\0'; } } - } else if (!g_ascii_strcasecmp (header, "attach")) { + } else if (!g_ascii_strcasecmp (header, "attach") || + !g_ascii_strcasecmp (header, "attachment")) { /* Change file url to absolute path */ - if (!strncasecmp (content, "file:", 5)) { + if (!g_ascii_strncasecmp (content, "file:", 5)) { url = camel_url_new (content, NULL); e_msg_composer_attachment_bar_attach (E_MSG_COMPOSER_ATTACHMENT_BAR (composer->attachment_bar), url->path); |