[evolution-patches] mail: signature editor fix



signature editor wasn't setting html format flag and thus html
signatures were later used as plain ones (displaying all the markup)

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2736
diff -u -p -r1.2736 ChangeLog
--- ChangeLog	21 May 2003 15:27:53 -0000	1.2736
+++ ChangeLog	21 May 2003 18:33:26 -0000
@@ -1,3 +1,9 @@
+2003-05-21  Radek Doulik  <rodo ximian com>
+
+	* mail-signature-editor.c (menu_file_save_cb): set signature html
+	flag even if it's newly signature, we don't set it in
+	format_html_cb as sig could be "live" (when it's not new one)
+
 2003-05-20  Jeffrey Stedfast  <fejj ximian com>
 
 	* mail-importer.c: Updated copyright years.
Index: mail-signature-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-signature-editor.c,v
retrieving revision 1.33
diff -u -p -r1.33 mail-signature-editor.c
--- mail-signature-editor.c	18 Apr 2003 17:44:26 -0000	1.33
+++ mail-signature-editor.c	21 May 2003 18:33:26 -0000
@@ -177,14 +177,14 @@ menu_file_save_cb (BonoboUIComponent *ui
 	
 	g_free (filename);
 	
+	mail_config_signature_set_html (editor->sig, editor->html);
+
 	/* if the signature isn't already saved in the config, save it there now... */
 	if (editor->is_new) {
 		mail_config_signature_add (editor->sig);
 		editor->is_new = FALSE;
-	} else {
-		mail_config_signature_set_html (editor->sig, editor->html);
+	} else
 		mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_CONTENT_CHANGED, editor->sig);
-	}
 	
 	return;
 	


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