aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/mail-send-options.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2009-07-23 21:04:02 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2009-07-23 21:25:25 +0800
commit606f6c15dbfbd7821a5aa92a81d64b318842fe7a (patch)
tree7db5234345e8d2c83dc38bdabd50962f0492a069 /plugins/groupwise-features/mail-send-options.c
parent5d4e8994e83c9ab650981c332eaef57f4fab2788 (diff)
downloadgsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.tar.gz
gsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.tar.zst
gsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.zip
Bug #339361 (bnc) - soap threading not working.
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..701205f04c 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;
+ char *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);
+}