changeset 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 225e1b274033
children 498a1b29fb11
files src/gtkimhtml.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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); \
 		} \
 	} \
 \