diff options
author | Not Zed <NotZed@HelixCode.com> | 2001-01-03 19:52:04 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-01-03 19:52:04 +0800 |
commit | c37da1342398fdc4836baa89d0506a0950a10bb6 (patch) | |
tree | 58d0977e7b47884a3e0ed644f5ac777336bf9403 /mail/mail-ops.h | |
parent | 3df84a345e9cec9fded0e697b660e6c18c91f9d7 (diff) | |
download | gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar.gz gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar.bz2 gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar.lz gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar.xz gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.tar.zst gsoc2013-evolution-c37da1342398fdc4836baa89d0506a0950a10bb6.zip |
Call mail-callbacks.c:forward_messages(), so the behaviour is the same as
2001-01-03 Not Zed <NotZed@HelixCode.com>
* mail-view.c (view_forward_msg): Call
mail-callbacks.c:forward_messages(), so the behaviour is the same
as from the folder browser.
* mail-callbacks.c (forward_messages): New function to forward
messages, attached or not.
(forward_inlined): Changed to use new forward-messages
implementation.
(forward_attached): Likewise.
(do_forward_attach): Callback for forwarding as attachment, once
we have built it.
(do_forward_inline): Likewise, for inline, once we have retrieved
the message.
(forward_message): Removed.
* mail-ops.c (mail_build_attachment): New function to build an
attachment of messages.
(mail_do_attach_message): Removed, functionality superceeded by
above.
(mail_do_forward_message): Removed. Likewise.
(mail_create_folder): Started work on an alternative
implementation of create_folder, but not sure about it yet.
* mail-tools.c (mail_tool_generate_forward_subject): Remove locking.
(mail_tool_make_message_attachment): Free the description when done.
svn path=/trunk/; revision=7232
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index bd51e1cc32..604c12c5ab 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -55,11 +55,6 @@ void mail_do_flag_messages (CamelFolder *source, GPtrArray *uids, void mail_do_flag_all_messages (CamelFolder *source, gboolean invert, guint32 mask, guint32 set); void mail_do_scan_subfolders (CamelStore *store, EvolutionStorage *storage); -void mail_do_attach_message (CamelFolder *folder, const char *uid, - EMsgComposer *composer); -void mail_do_forward_message (CamelMimeMessage *basis, CamelFolder *source, - GPtrArray *uids, /*array of allocated gchar *, will all be freed */ - EMsgComposer *composer, gboolean attach); void mail_do_create_folder (const GNOME_Evolution_ShellComponentListener listener, const char *uri, const char *type); void mail_do_setup_trash (const char *name, const char *store_uri, CamelFolder **folder); @@ -78,6 +73,10 @@ void mail_get_messages(CamelFolder *folder, GPtrArray *uids, void mail_get_folder(const char *uri, void (*done) (char *uri, CamelFolder *folder, void *data), void *data); +/* build an attachment */ +void mail_build_attachment(CamelFolder *folder, GPtrArray *uids, + void (*done)(CamelFolder *folder, GPtrArray *messages, CamelMimePart *part, char *subject, void *data), void *data); + void mail_sync_folder(CamelFolder *folder, void (*done) (CamelFolder *folder, void *data), void *data); void mail_expunge_folder(CamelFolder *folder, |