From 2505d230498c0f35822e7d10502bb3f899fdf876 Mon Sep 17 00:00:00 2001 From: Meilof Veeningen Date: Mon, 12 Jan 2004 22:22:50 +0000 Subject: support for posting both to mail and to (multiple) folders 2004-01-12 Meilof Veeningen * em-composer-utils.c: support for posting both to mail and to (multiple) folders * em-folder-browser.c: use em_utils_post_to_folder (works with NNTP) * em-folder-selection-button.[ch]: added multiple selection mode * em-folder-selector.[ch]: idem * em-folder-tree.[ch]: added multiple selection mode, no longer show disabled accounts * em-utils.c: various changes to allow posting to (multiple) folders * em-subscribe-editor.c: double-clicking a node in the editor updates it directly * mail-ops.c: for appending messages, set the "X-Mailer" header svn path=/trunk/; revision=24182 --- mail/em-utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/em-utils.h') diff --git a/mail/em-utils.h b/mail/em-utils.h index f0d8e4249a..6b54e48de2 100644 --- a/mail/em-utils.h +++ b/mail/em-utils.h @@ -59,6 +59,7 @@ void em_utils_compose_new_message (void); /* FIXME: mailto? url? should make up its mind what its called. imho use 'uri' */ void em_utils_compose_new_message_with_mailto (const char *url); +void em_utils_post_to_folder (struct _CamelFolder *folder); void em_utils_post_to_url (const char *url); void em_utils_edit_message (struct _CamelMimeMessage *message); @@ -121,6 +122,10 @@ char *em_utils_message_to_html(struct _CamelMimeMessage *msg, const char *credit void em_utils_expunge_folder (struct _GtkWidget *parent, struct _CamelFolder *folder); void em_utils_empty_trash (struct _GtkWidget *parent); +/* returns the folder name portion of an URI */ +char *em_utils_folder_name_from_uri (const char *uri); + + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3