[evolution-rss] temporary fix for address headers This seems broken in latest e-d-s commit (port to gobject)



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]