aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
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
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')
-rw-r--r--plugins/groupwise-features/mail-send-options.c20
-rw-r--r--plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml11
2 files changed, 30 insertions, 1 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);
+}
diff --git a/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml b/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml
index 8bb6651acf..ea4f06a6e7 100644
--- a/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml
+++ b/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml
@@ -72,7 +72,16 @@
enable="sendoption"
/>
</hook>
-
+
+ <hook class="org.gnome.evolution.mail.events:1.0">
+ <event
+ id="message.replying"
+ handle="org_gnome_composer_message_reply"
+ target="message"
+ enable="reply"
+ />
+ </hook>
+
<hook class="org.gnome.evolution.mail.config:1.0">
<group id="org.gnome.evolution.mail.config.accountEditor"
target="account" commit = "proxy_commit" abort="proxy_abort">