aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorRathin <rathinusa@yahoo.co.in>2011-06-14 20:26:30 +0800
committerMilan Crha <mcrha@redhat.com>2011-06-14 20:26:30 +0800
commitf5794eff3613afe5082ab15bd6dbb14806ce5fdc (patch)
tree375f309c21bea171d89bbeb1252c4038ba0bde58 /mail/e-mail-reader.c
parentde9b1685edf197281c14ce9c1ae8f384866ff0b2 (diff)
downloadgsoc2013-evolution-f5794eff3613afe5082ab15bd6dbb14806ce5fdc.tar.gz
gsoc2013-evolution-f5794eff3613afe5082ab15bd6dbb14806ce5fdc.tar.zst
gsoc2013-evolution-f5794eff3613afe5082ab15bd6dbb14806ce5fdc.zip
Bug #530335 - Allow Reply to selected address only
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 9d32ddb335..313e0f5acc 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -1502,6 +1502,14 @@ action_mail_reply_sender_cb (GtkAction *action,
}
static void
+action_mail_reply_recipient_cb (GtkAction *action,
+ EMailReader *reader)
+{
+ e_mail_reader_reply_to_message (reader, NULL, E_MAIL_REPLY_TO_RECIPIENT);
+ check_close_browser_reader (reader);
+}
+
+static void
action_mail_save_as_cb (GtkAction *action,
EMailReader *reader)
{
@@ -3513,6 +3521,12 @@ e_mail_reader_init (EMailReader *reader,
action, "activate",
G_CALLBACK (action_add_to_address_book_cb), reader);
+ action_name = "send-reply";
+ action = e_web_view_get_action (web_view, action_name);
+ g_signal_connect (
+ action, "activate",
+ G_CALLBACK (action_mail_reply_recipient_cb), reader);
+
action_name = "search-folder-recipient";
action = e_web_view_get_action (web_view, action_name);
g_signal_connect (