changeset 77:002da4d18ac6

Set tooltip background color to yellow.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 15 Mar 2002 18:24:01 +0000
parents ce0f5528bab0
children 06fe66722371
files gtk/dw.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Fri Mar 15 00:11:23 2002 +0000
+++ b/gtk/dw.c	Fri Mar 15 18:24:01 2002 +0000
@@ -662,6 +662,8 @@
 	for(z=0;z<DW_THREAD_LIMIT;z++)
 		_dw_thread_list[z] = (DWTID)-1;
 
+	gtk_rc_parse_string("style \"gtk-tooltips-style\" { bg[NORMAL] = \"#eeee00\" } widget \"gtk-tooltips\" style \"gtk-tooltips-style\"");
+
 	return TRUE;
 }
 
@@ -2040,7 +2042,6 @@
 	if(text)
 	{
 		tooltips = gtk_tooltips_new();
-		gtk_tooltips_set_colors(tooltips, &_colors[DW_CLR_BLACK], &_colors[DW_CLR_YELLOW]);
 		gtk_tooltips_set_tip(tooltips, tmp, text, NULL);
 		gtk_object_set_data(GTK_OBJECT(tmp), "tooltip", (gpointer)tooltips);
 	}