[evolution-patches] mail, 61767, replying to encrypted content




simple api misusage

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3417
diff -u -3 -r1.3417 ChangeLog
--- mail/ChangeLog	21 Jul 2004 15:54:00 -0000	1.3417
+++ mail/ChangeLog	22 Jul 2004 04:46:00 -0000
@@ -1,3 +1,8 @@
+2004-07-22  Not Zed  <NotZed Ximian com>
+
+	* em-utils.c (em_utils_part_to_html, em_utils_message_to_html):
+	set the session on the formatter.  See #61767.
+
 2004-07-19  Jeffrey Stedfast  <fejj novell com>
 
 	* em-migrate.c (em_migrate_folder): Free uri and name
Index: mail/em-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-utils.c,v
retrieving revision 1.44
diff -u -3 -r1.44 em-utils.c
--- mail/em-utils.c	14 Jul 2004 15:20:19 -0000	1.44
+++ mail/em-utils.c	22 Jul 2004 04:46:01 -0000
@@ -66,6 +66,8 @@
 
 static void emu_save_part_done (CamelMimePart *part, char *name, int done, void *data);
 
+extern struct _CamelSession *session;
+
 #define d(x)
 
 /**
@@ -1375,6 +1377,7 @@
 	camel_stream_mem_set_byte_array (mem, buf);
 	
 	emfq = em_format_quote_new(NULL, (CamelStream *)mem, 0);
+	em_format_set_session((EMFormat *)emfq, session);
 	em_format_part((EMFormat *) emfq, (CamelStream *) mem, part);
 	g_object_unref (emfq);
 	
@@ -1411,6 +1414,7 @@
 	camel_stream_mem_set_byte_array (mem, buf);
 	
 	emfq = em_format_quote_new(credits, (CamelStream *)mem, flags);
+	em_format_set_session((EMFormat *)emfq, session);
 	em_format_format((EMFormat *)emfq, NULL, NULL, message);
 	g_object_unref (emfq);
 	
@@ -1519,8 +1523,6 @@
 	
 	return folder_name;
 }
-
-extern struct _CamelSession *session;
 
 /* email: uri's are based on the account, with special cases for local
  * stores, vfolder and local mail.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]