aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2005-05-13 01:04:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2005-05-13 01:04:15 +0800
commit68416e0bdd4f24d7d1336df463d6944d5451ecdd (patch)
treef53b00194f94ac6601626a8c5e6f140290f0a53b /mail/em-folder-view.c
parent20ef8f97a52cd7ce155f88bbfd4f911119e3d2e2 (diff)
downloadgsoc2013-evolution-68416e0bdd4f24d7d1336df463d6944d5451ecdd.tar.gz
gsoc2013-evolution-68416e0bdd4f24d7d1336df463d6944d5451ecdd.tar.zst
gsoc2013-evolution-68416e0bdd4f24d7d1336df463d6944d5451ecdd.zip
Use the real folder and real uid (not the virtual if replying to a message
2005-04-21 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (post_reply_to_message): Use the real folder and real uid (not the virtual if replying to a message in a vfolder). Fixes bug #269129. svn path=/trunk/; revision=29345
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index cf7d26dbba..f4c5b737f2 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1339,24 +1339,24 @@ emfv_message_reply(EMFolderView *emfv, int mode)
selection_string = gtk_html_get_selection_html (((EMFormatHTML *)emfv->preview)->html, &len);
if (selection_string && len) {
- CamelMimeMessage *msg, *src;
- struct _camel_header_raw *header;
-
- src = (CamelMimeMessage *)((EMFormat *)emfv->preview)->message;
- msg = camel_mime_message_new();
-
- /* need to strip content- headers */
- header = ((CamelMimePart *)src)->headers;
- while (header) {
- if (g_ascii_strncasecmp(header->name, "content-", 8) != 0)
- camel_medium_add_header((CamelMedium *)msg, header->name, header->value);
- header = header->next;
- }
- camel_mime_part_set_encoding((CamelMimePart *)msg, CAMEL_TRANSFER_ENCODING_8BIT);
- camel_mime_part_set_content((CamelMimePart *)msg,
- selection_string, len, "text/html");
- em_utils_reply_to_message (emfv->folder, emfv->list->cursor_uid, msg, mode, NULL);
- camel_object_unref(msg);
+ CamelMimeMessage *msg, *src;
+ struct _camel_header_raw *header;
+
+ src = (CamelMimeMessage *)((EMFormat *)emfv->preview)->message;
+ msg = camel_mime_message_new();
+
+ /* need to strip content- headers */
+ header = ((CamelMimePart *)src)->headers;
+ while (header) {
+ if (g_ascii_strncasecmp(header->name, "content-", 8) != 0)
+ camel_medium_add_header((CamelMedium *)msg, header->name, header->value);
+ header = header->next;
+ }
+ camel_mime_part_set_encoding((CamelMimePart *)msg, CAMEL_TRANSFER_ENCODING_8BIT);
+ camel_mime_part_set_content((CamelMimePart *)msg,
+ selection_string, len, "text/html");
+ em_utils_reply_to_message (emfv->folder, emfv->list->cursor_uid, msg, mode, NULL);
+ camel_object_unref(msg);
} else {
em_utils_reply_to_message (emfv->folder, emfv->list->cursor_uid, NULL, mode, (EMFormat *)emfv->preview);
}