diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2009-07-23 21:04:02 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2009-07-23 21:25:25 +0800 |
commit | 606f6c15dbfbd7821a5aa92a81d64b318842fe7a (patch) | |
tree | 7db5234345e8d2c83dc38bdabd50962f0492a069 /mail/em-composer-utils.c | |
parent | 5d4e8994e83c9ab650981c332eaef57f4fab2788 (diff) | |
download | gsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.tar.gz gsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.tar.zst gsoc2013-evolution-606f6c15dbfbd7821a5aa92a81d64b318842fe7a.zip |
Bug #339361 (bnc) - soap threading not working.
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 11f4272cf8..8b77c716a5 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -2336,18 +2336,7 @@ em_utils_reply_to_message(CamelFolder *folder, const gchar *uid, CamelMimeMessag g_return_val_if_fail(message != NULL, NULL); - /** @Event: message.replying - * @Title: Message being replied to - * @Target: EMEventTargetMessage - * - * message.replying is emitted when a user starts replying to a message. - */ - - eme = em_event_peek(); - target = em_event_target_new_message(eme, folder, message, uid, - mode == REPLY_MODE_ALL ? EM_EVENT_MESSAGE_REPLY_ALL : 0); - e_event_emit((EEvent *)eme, "message.replying", (EEventTarget *)target); - + to = camel_internet_address_new(); cc = camel_internet_address_new(); @@ -2385,6 +2374,18 @@ em_utils_reply_to_message(CamelFolder *folder, const gchar *uid, CamelMimeMessag composer_set_body (composer, message, source); + /** @Event: message.replying + * @Title: Message being replied to + * @Target: EMEventTargetMessage + * + * message.replying is emitted when a user starts replying to a message. + */ + + eme = em_event_peek(); + target = em_event_target_new_message(eme, folder, message, uid, + mode == REPLY_MODE_ALL ? EM_EVENT_MESSAGE_REPLY_ALL | EM_EVENT_MESSAGE_REPLY : EM_EVENT_MESSAGE_REPLY, composer); + e_event_emit((EEvent *)eme, "message.replying", (EEventTarget *)target); + em_composer_utils_setup_callbacks (composer, folder, uid, flags, flags, NULL, NULL); composer_set_no_change (composer, TRUE, FALSE); |