[evolution-rss] temporary fix for address headers This seems broken in latest e-d-s commit (port to gobject)
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] temporary fix for address headers This seems broken in latest e-d-s commit (port to gobject)
- Date: Sun, 25 Apr 2010 15:55:28 +0000 (UTC)
commit baab1c39f2038e87bb3ca9afbe86a15e42e4f8e5
Author: Lucian Langa <lucilanga gnome org>
Date: Sun Apr 25 18:53:18 2010 +0300
temporary fix for address headers
This seems broken in latest e-d-s commit (port to gobject)
src/rss.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index edcc6f5..0c6775f 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -5814,8 +5814,13 @@ create_mail(create_feed *CF)
addr = camel_internet_address_new();
d("date:%s\n", CF->date);
- camel_address_decode(CAMEL_ADDRESS(addr), author);
+ //I'm too lazy to track this down
+#if (DATASERVER_VERSION >= 2031001)
+ camel_medium_set_header (new, "From", author);
+#else
+ camel_address_decode((CamelAddress *)addr, author);
camel_mime_message_set_from(new, addr);
+#endif
#if (DATASERVER_VERSION >= 2031001)
g_object_unref(addr);
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]