use tooltip color, font

This commit is contained in:
cinamod
2003-09-03 17:40:23 +00:00
parent abc6ebe0a2
commit 1ff4c35fdb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-09-03 Dom Lachowicz <cinamod@hotmail.com>
* src/wimp_style.c: Honor tooltip color, font
2003-09-02 Dom Lachowicz <cinamod@hotmail.com>
* src/wimp_style.c: We now honor font preferences being bold or italic

View File

@ -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,