# HG changeset patch
# User Luke Schierer <lschiere@pidgin.im>
# Date 1040919419 0
# Node ID 06427e5560a465f7a3d16e40eba5dd3fd7b200b6
# Parent  b658b502b0962dc607325e9353c4ceadeb25d82d
[gaim-migrate @ 4364]
assuming people have gtk themes where black text makes sense is bad as well.
someone fix this to make better assumptions.

committer: Tailor Script <tailor@pidgin.im>

diff -r b658b502b096 -r 06427e5560a4 src/conversation.c
--- a/src/conversation.c	Thu Dec 26 15:40:23 2002 +0000
+++ b/src/conversation.c	Thu Dec 26 16:16:59 2002 +0000
@@ -2683,10 +2683,15 @@
 
 	if (!GTK_WIDGET_REALIZED(label))
 		return;
-	color.red = 0x0000;
+	style = gtk_style_new();
+	gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style)));
+	gtk_widget_set_style(label, style);
+	gtk_style_unref(style);
+/*	color.red = 0x0000;
 	color.green = 0x0000;
 	color.blue = 0x0000;
 	gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &color);
+*/
 	if (c)
 		c->unseen = 0;
 
@@ -2739,9 +2744,15 @@
 			color.green = 0x0000;
 			color.blue = 0x0000;
 		} else {
-			color.red = 0x0000;
-			color.green = 0x0000;
-			color.blue = 0x0000;
+			style = gtk_style_new();
+			gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style)));
+			gtk_widget_set_style(label, style);
+			gtk_style_unref(style);
+			/*
+				color.red = 0x0000;
+				color.green = 0x0000;
+				color.blue = 0x0000;
+			*/
 		}
 		gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &color);
 			debug_printf("setting style\n");