From 64f95feb7da6e02faf8395f14a1329a133e367cd Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 16 Nov 2000 00:36:07 +0000 Subject: Added a new Forward as Attachment bonobo menu item verb. 2000-11-15 Jeffrey Stedfast * folder-browser-factory.c: Added a new Forward as Attachment bonobo menu item verb. * mail-view.c (view_forward_msg): Updated to reflect changes to mail_do_forward_message(). It now forwards the message without attaching it - is this what we want? * mail-ops.c (mail_do_view_message_sources): New async function to display message source dialog windows. (setup_forward_messages): If we were asked not to forward the message(s) as attachment(s) and the user chose more than a single message, then default to making each message an attachment. (cleanup_forward_messages): If we aren't forwarding the message as an attachment, then quote the text and set the composer's body with it. * mail-callbacks.c (view_source): New callback to view the message source of all messages that are currently selected. (forward_attach): New callback to forward a message as an attachment (forward_msg is now for forwarding a message without it being an attachment). (forward_message): Convenience function for forwarding messages. svn path=/trunk/; revision=6585 --- mail/mail-callbacks.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-callbacks.h') diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h index 7995581be2..23e7f13d75 100644 --- a/mail/mail-callbacks.h +++ b/mail/mail-callbacks.h @@ -42,6 +42,7 @@ void send_receieve_mail (GtkWidget *widget, gpointer user_data); void compose_msg (GtkWidget *widget, gpointer user_data); void send_to_url (const char *url); void forward_msg (GtkWidget *widget, gpointer user_data); +void forward_attach (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); @@ -53,6 +54,7 @@ void print_msg (GtkWidget *widget, gpointer user_data); void print_preview_msg (GtkWidget *widget, gpointer user_data); void edit_msg (GtkWidget *widget, gpointer user_data); void view_msg (GtkWidget *widget, gpointer user_data); +void view_source (GtkWidget *widget, gpointer user_data); void select_all (BonoboUIComponent *uih, void *user_data, const char *path); void invert_selection (BonoboUIComponent *uih, void *user_data, const char *path); -- cgit v1.2.3