From: Tristan Chabredier Date: Wed, 28 Dec 2005 09:55:45 +0000 (+0000) Subject: 2005-12-28 [wwp] 1.9.100cvs110 X-Git-Tag: rel_2_0_0~101 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=f582301147b9b241e9a648288b8c24387ef9bc76 2005-12-28 [wwp] 1.9.100cvs110 * src/compose.c fix a minor wrapping issue w/ autowrap disabled (patch by Colin). --- diff --git a/ChangeLog b/ChangeLog index de0017915..920f0271d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-28 [wwp] 1.9.100cvs110 + + * src/compose.c + fix a minor wrapping issue w/ autowrap disabled (patch by Colin). + 2005-12-28 [wwp] 1.9.100cvs109 * doc/faq/.cvsignore diff --git a/PATCHSETS b/PATCHSETS index d4e358196..aec8e9dec 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1093,3 +1093,4 @@ ( cvs diff -u -r 1.150.2.47 -r 1.150.2.48 src/procmsg.c; ) > 1.9.100cvs107.patchset ( cvs diff -u -r 1.100.2.31 -r 1.100.2.32 AUTHORS; cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/gtk/authors.h; ) > 1.9.100cvs108.patchset ( diff -u /dev/null doc/faq/.cvsignore; diff -u /dev/null doc/faq/de/.cvsignore; diff -u /dev/null doc/faq/en/.cvsignore; diff -u /dev/null doc/faq/es/.cvsignore; diff -u /dev/null doc/faq/fr/.cvsignore; diff -u /dev/null doc/faq/it/.cvsignore; diff -u /dev/null doc/manual/.cvsignore; diff -u /dev/null doc/manual/de/.cvsignore; diff -u /dev/null doc/manual/en/.cvsignore; diff -u /dev/null doc/manual/es/.cvsignore; diff -u /dev/null doc/manual/fr/.cvsignore; diff -u /dev/null doc/manual/ja/.cvsignore; diff -u /dev/null src/plugins/mathml_viewer/.cvsignore; cvs diff -u -r 1.1.16.1 -r 1.1.16.2 po/.cvsignore; ) > 1.9.100cvs109.patchset +( cvs diff -u -r 1.382.2.210 -r 1.382.2.211 src/compose.c; ) > 1.9.100cvs110.patchset diff --git a/configure.ac b/configure.ac index e22a0a389..a93535f33 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=100 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=109 +EXTRA_VERSION=110 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/compose.c b/src/compose.c index cd06f1a19..0b0425993 100644 --- a/src/compose.c +++ b/src/compose.c @@ -3294,6 +3294,7 @@ static void compose_beautify_paragraph(Compose *compose, GtkTextIter *par_iter, } /* go until paragraph end (empty line) */ + while (!gtk_text_iter_ends_line(&iter)) { gchar *scanpos = NULL; /* parse table - in order of priority */ @@ -3328,6 +3329,11 @@ static void compose_beautify_paragraph(Compose *compose, GtkTextIter *par_iter, gchar *o_walk = NULL, *walk = NULL, *bp = NULL, *ep = NULL; gint walk_pos; + if (!prev_autowrap) + g_signal_handlers_block_by_func(G_OBJECT(buffer), + G_CALLBACK(text_inserted), + compose); + if (gtk_text_iter_has_tag(&iter, compose->no_wrap_tag) && !force) goto colorize; @@ -3402,6 +3408,10 @@ static void compose_beautify_paragraph(Compose *compose, GtkTextIter *par_iter, } colorize: + if (!prev_autowrap) + g_signal_handlers_unblock_by_func(G_OBJECT(buffer), + G_CALLBACK(text_inserted), + compose); end_of_line = iter; while (!gtk_text_iter_ends_line(&end_of_line)) { gtk_text_iter_forward_char(&end_of_line);