From 97a894dc7d40ebd32073c421a68caf582a1ba770 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 9 Mar 2001 00:43:35 +0000 Subject: Set the Forward->Quoted callback. Also set the forward->Attachment 2001-03-08 Jeffrey Stedfast * folder-browser-factory.c: Set the Forward->Quoted callback. Also set the forward->Attachment callback. * mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED. * mail-callbacks.c (forward_attached): Don't call forward_messages() anymore...never really needed to. Just handle it directly. (forward_inlined): Specify FORWARD_INLINE as the flag argument. (forward_quoted): New function sorta like forward_inlined except this forwards the message quoted. * mail-tools.c (mail_tool_forward_message): New function to prepare a message to be forwarded. svn path=/trunk/; revision=8611 --- mail/mail-callbacks.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mail/mail-callbacks.h') diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h index 5cfeb54b7b..bc04110b3c 100644 --- a/mail/mail-callbacks.h +++ b/mail/mail-callbacks.h @@ -42,9 +42,18 @@ void send_receive_mail (GtkWidget *widget, gpointer user_data); void compose_msg (GtkWidget *widget, gpointer user_data); void send_to_url (const char *url); -void forward_messages (CamelFolder *folder, GPtrArray *uids, gboolean doinline); + +enum { + FORWARD_INLINE, + FORWARD_QUOTED, + FORWARD_ATTACHED +}; + +void forward_messages (CamelFolder *folder, GPtrArray *uids, int flag); void forward_inlined (GtkWidget *widget, gpointer user_data); +void forward_quoted (GtkWidget *widget, gpointer user_data); void forward_attached (GtkWidget *widget, gpointer user_data); + void reply_to_sender (GtkWidget *widget, gpointer user_data); void reply_to_all (GtkWidget *widget, gpointer user_data); void delete_msg (GtkWidget *widget, gpointer user_data); -- cgit