aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/mail-send-options.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-28 10:31:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-28 23:24:49 +0800
commit2c4510e858fcf96e8f3d02f3f92564460752e983 (patch)
tree777c673d5fdaf649fb1c9eabd9357eac622b15f6 /plugins/groupwise-features/mail-send-options.c
parent3fe8269156da1b57b0fc7391f5cf07cab6f61606 (diff)
parent067ef5580fc287809958d4503691bfcba2b29ee5 (diff)
downloadgsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar.gz
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar.bz2
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar.lz
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar.xz
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.tar.zst
gsoc2013-evolution-2c4510e858fcf96e8f3d02f3f92564460752e983.zip
Merge commit 'EVOLUTION_2_27_5' into kill-bonobo
Diffstat (limited to 'plugins/groupwise-features/mail-send-options.c')
-rw-r--r--plugins/groupwise-features/mail-send-options.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c
index 4faaf9bbc6..8244088f8a 100644
--- a/plugins/groupwise-features/mail-send-options.c
+++ b/plugins/groupwise-features/mail-send-options.c
@@ -44,6 +44,7 @@
static ESendOptionsDialog * dialog = NULL;
void org_gnome_composer_send_options (EPlugin *ep, EMEventTargetComposer *t);
+void org_gnome_composer_message_reply (EPlugin *ep, EMEventTargetMessage *t);
static time_t
add_day_to_time (time_t time, gint days)
@@ -171,3 +172,22 @@ org_gnome_composer_send_options (EPlugin *ep, EMEventTargetComposer *t)
G_CALLBACK (send_options_commit), dialog);
}
+void
+org_gnome_composer_message_reply (EPlugin *ep, EMEventTargetMessage *t)
+{
+ EMsgComposer *comp = (struct _EMsgComposer *)t->composer;
+ EComposerHeaderTable *table;
+ EAccount *account = NULL;
+ gchar *temp = NULL;
+
+ table = e_msg_composer_get_header_table (comp);
+ account = e_composer_header_table_get_account (table);
+ if (!account)
+ return;
+
+ temp = strstr (account->transport->url, "groupwise");
+ if (!temp) {
+ return;
+ }
+ e_msg_composer_add_header (comp, "X-GW-ORIG-ITEM-ID", t->uid);
+}