diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-30 05:06:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-30 05:06:01 +0800 |
commit | 865606984fb9d3c1a3e6af99ceea17fac7c18b07 (patch) | |
tree | 592520727af3a87a5e5baa15685a10f65d116f8d /mail/folder-browser-ui.c | |
parent | 85610de9fec51076b7ff834e22409a029d18a484 (diff) | |
download | gsoc2013-evolution-865606984fb9d3c1a3e6af99ceea17fac7c18b07.tar.gz gsoc2013-evolution-865606984fb9d3c1a3e6af99ceea17fac7c18b07.tar.zst gsoc2013-evolution-865606984fb9d3c1a3e6af99ceea17fac7c18b07.zip |
New function that implements the Redirect feature.
2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/folder-browser-ui.c')
-rw-r--r-- | mail/folder-browser-ui.c | 4 |
1 files changed, 3 insertions, 1 deletions
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", |