aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-31 03:47:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-31 03:47:20 +0800
commitf3b55ed92d29379801b8c09042e1ee8cdd9093af (patch)
treecb5e21d6cbc4ae16e55cf5b13953a085e80a759d /composer
parentfea04c9988c3cdb996cfa24e64caafdfbf9c7097 (diff)
downloadgsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar.gz
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar.bz2
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar.lz
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar.xz
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.tar.zst
gsoc2013-evolution-f3b55ed92d29379801b8c09042e1ee8cdd9093af.zip
Make sure to save References and In-Reply-To headers. Fixes bug #32932.
2002-10-29 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Make sure to save References and In-Reply-To headers. Fixes bug #32932. svn path=/trunk/; revision=18469
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1be4c299c7..7c9ebbea40 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-29 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_new_with_message): Make sure to
+ save References and In-Reply-To headers. Fixes bug #32932.
+
2002-10-26 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Don't set
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 650d19497e..e4644f1f30 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3533,7 +3533,9 @@ e_msg_composer_new_with_message (CamelMimeMessage *message)
/* set extra headers */
headers = CAMEL_MIME_PART (message)->headers;
while (headers) {
- if (!is_special_header (headers->name)) {
+ if (!is_special_header (headers->name) ||
+ !g_strcasecmp (headers->name, "References") ||
+ !g_strcasecmp (headers->name, "In-Reply-To")) {
g_ptr_array_add (new->extra_hdr_names, g_strdup (headers->name));
g_ptr_array_add (new->extra_hdr_values, g_strdup (headers->value));
}