From 1ff4c35fdb77db0be73922f1e58c0db7de180427 Mon Sep 17 00:00:00 2001 From: cinamod Date: Wed, 3 Sep 2003 17:40:23 +0000 Subject: [PATCH] use tooltip color, font --- modules/engines/ms-windows/ChangeLog.old | 4 ++++ modules/engines/ms-windows/wimp_style.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/engines/ms-windows/ChangeLog.old b/modules/engines/ms-windows/ChangeLog.old index b2dbe1b086..4a8738947e 100755 --- a/modules/engines/ms-windows/ChangeLog.old +++ b/modules/engines/ms-windows/ChangeLog.old @@ -1,3 +1,7 @@ +2003-09-03 Dom Lachowicz + + * src/wimp_style.c: Honor tooltip color, font + 2003-09-02 Dom Lachowicz * src/wimp_style.c: We now honor font preferences being bold or italic diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c index 010f5e0ff1..9789093a91 100755 --- a/modules/engines/ms-windows/wimp_style.c +++ b/modules/engines/ms-windows/wimp_style.c @@ -345,12 +345,12 @@ setup_system_styles(GtkStyle *style) (font_ptr ? font_ptr : " font name should go here")); gtk_rc_parse_string(buf); - /* enable tooltip fonts - waiting for GTK 2.4 */ - font_ptr = sys_font_to_pango_font (CAPTION_FONT,font_buf); + /* enable tooltip fonts */ + font_ptr = sys_font_to_pango_font (STATUS_FONT,font_buf); sprintf(buf, "style \"wimp-tooltips-caption\"\n" "{fg[NORMAL] = { %d, %d, %d }\n" "%s = \"%s\"\n" - "}widget \"gtk-tooltips-caption*\" style \"wimp-tooltips-caption\"\n", + "}widget \"gtk-tooltips.GtkLabel\" style \"wimp-tooltips-caption\"\n", tooltip_fore.red, tooltip_fore.green, tooltip_fore.blue,