changeset 637:8f0ba638d819

[gaim-migrate @ 647] highlighting should work better again committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 08 Aug 2000 02:22:54 +0000
parents 072200640327
children 525c566741da
files src/gtkhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkhtml.c	Mon Aug 07 22:31:25 2000 +0000
+++ b/src/gtkhtml.c	Tue Aug 08 02:22:54 2000 +0000
@@ -2059,7 +2059,7 @@
 			/*end my stuff*/
 
 
-			if (hb->back != NULL) {
+			if (hb->back != NULL && selected_state != GTK_STATE_SELECTED) {
 				int wid = gdk_string_width(hb->font, hb->text),
 				    hei = gdk_text_height(hb->font, "C", 1);
 				gdk_gc_set_foreground(gc, hb->back);