[evolution-patches] [composer] fix for signature ending in PRE



attached patch makes sure that signature will end up in normal style paragraph and not PRE one
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.656
diff -u -p -r1.656 ChangeLog
--- ChangeLog	12 Aug 2004 20:36:07 -0000	1.656
+++ ChangeLog	13 Aug 2004 16:07:20 -0000
@@ -1,3 +1,8 @@
+2004-08-13  Radek Doulik  <rodo ximian com>
+
+	* e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph
+	style to normal to avoid signature landing in PRE paragraph
+
 2004-07-29  Carlos Garnacho Parro  <carlosg gnome org>
 
 	* e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser
Index: e-msg-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer.c,v
retrieving revision 1.478
diff -u -p -r1.478 e-msg-composer.c
--- e-msg-composer.c	12 Aug 2004 20:36:07 -0000	1.478
+++ e-msg-composer.c	13 Aug 2004 16:07:21 -0000
@@ -4620,6 +4620,7 @@ e_msg_composer_show_sig_file (EMsgCompos
 		/* printf ("insert %s\n", html); */
 		GNOME_GtkHTML_Editor_Engine_setParagraphData (composer->editor_engine, "orig", "0", &ev);
 		GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "indent-zero", &ev);
+		GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "style-normal", &ev);
 		GNOME_GtkHTML_Editor_Engine_insertHTML (composer->editor_engine, html, &ev);
 		g_free (html);
 	}


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