From 865606984fb9d3c1a3e6af99ceea17fac7c18b07 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 29 Jan 2002 21:06:01 +0000 Subject: New function that implements the Redirect feature. 2002-01-29 Jeffrey Stedfast * mail-callbacks.c (redirect): New function that implements the Redirect feature. * mail-ops.c (mail_send_message): If we are redirecting a message, get the Resent-* recipients otherwise get the normal To/Cc/Bcc recipients and use them in the CamelTransport::send_to() method. * mail-session.c (main_get_filter_driver): Set the beep_func to the beep_cb, not the play_sound_func. Oops ;-) * folder-browser-ui.c: Add Redirect bonobo verb thingy here. (folder_browser_ui_set_selection_state): Add MessageRedirect to the proper string arrays. svn path=/trunk/; revision=15511 --- mail/folder-browser-ui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/folder-browser-ui.c') diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index 0960bd1bc4..1fe15cdc2f 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -51,6 +51,7 @@ static BonoboUIVerb message_verbs [] = { BONOBO_UI_UNSAFE_VERB ("MessageForwardAttached", forward_attached), BONOBO_UI_UNSAFE_VERB ("MessageForwardInline", forward_inline), BONOBO_UI_UNSAFE_VERB ("MessageForwardQuoted", forward_quoted), + BONOBO_UI_UNSAFE_VERB ("MessageRedirect", redirect), BONOBO_UI_UNSAFE_VERB ("MessageMarkAsRead", mark_as_seen), BONOBO_UI_UNSAFE_VERB ("MessageMarkAsUnRead", mark_as_unseen), BONOBO_UI_UNSAFE_VERB ("MessageMarkAsImportant", mark_as_important), @@ -549,6 +550,7 @@ folder_browser_ui_set_selection_state (FolderBrowser *fb, FolderBrowserSelection "MessageMarkAsImportant", "MessageMarkAsUnimportant", "MessageOpen", "MessageSaveAs", "MessageForward", "MessageForwardAttached", + "MessageRedirect", "EditCut", "EditCopy", "EditPaste", "ViewHideSelected", @@ -561,7 +563,7 @@ folder_browser_ui_set_selection_state (FolderBrowser *fb, FolderBrowserSelection static const char *multiple_disables[] = { /* actions that work on exactly 1 message */ "MessageReplyAll", "MessageReplyList", "MessageReplySender", "MessageResend", - "MessageForwardInline", "MessageForwardQuoted", "MessageSearch", + "MessageForwardInline", "MessageForwardQuoted", "MessageRedirect", "MessageSearch", "PrintMessage", "PrintPreviewMessage", -- cgit