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
This commit is contained in:
committed by
Jeffrey Stedfast
parent
5981b82e89
commit
9e8d970488
@ -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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user