Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 11968:53d8536c82f6
[gaim-migrate @ 14260]
This fixes untoggling the background color, foreground color and font face.
Love me tender.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 04 Nov 2005 05:30:51 +0000 |
parents | 52f27ffe68a5 |
children | 68c18dd8a316 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Fri Nov 04 05:27:52 2005 +0000 +++ b/src/gtkimhtml.c Fri Nov 04 05:30:51 2005 +0000 @@ -4262,6 +4262,9 @@ if (imhtml->wbfo) { \ gtk_text_buffer_get_bounds(imhtml->text_buffer, &start, &end); \ remove_func(imhtml, &start, &end, TRUE); \ + } else { \ + if (gtk_text_buffer_get_selection_bounds(imhtml->text_buffer, &start, &end)) \ + remove_func(imhtml, &start, &end, TRUE); \ } \ } \ \