From 96bec73826737a057a75769c577435409d3f7902 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 13 Aug 2004 16:27:16 +0000 Subject: set paragraph style to normal to avoid signature landing in PRE paragraph 2004-08-13 Radek Doulik * e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph style to normal to avoid signature landing in PRE paragraph svn path=/trunk/; revision=26919 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 1 + 2 files changed, 6 insertions(+) diff --git a/composer/ChangeLog b/composer/ChangeLog index c46c3aaf90..0de7f29bb7 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2004-08-13 Radek Doulik + + * 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 * e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index dd161ab40d..0fb23557d1 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4620,6 +4620,7 @@ e_msg_composer_show_sig_file (EMsgComposer *composer) /* 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); } -- cgit v1.2.3