Mercurial > pidgin
changeset 4578:3db8a7cfd971
[gaim-migrate @ 4859]
this will fix tab coloring for gtk < 2.2.1, now that i've broken it ;-)
these can be taken out if we ever require gtk >= 2.2.1
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 12 Feb 2003 03:54:56 +0000 |
parents | 00e46bfa0eba |
children | 0ea6a4c53f38 |
files | src/gtkconv.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Wed Feb 12 03:42:56 2003 +0000 +++ b/src/gtkconv.c Wed Feb 12 03:54:56 2003 +0000 @@ -4129,11 +4129,13 @@ style->fg[GTK_STATE_ACTIVE].red = 0x3131; style->fg[GTK_STATE_ACTIVE].green = 0x4E4E; style->fg[GTK_STATE_ACTIVE].blue = 0x6C6C; + style->fg[GTK_STATE_NORMAL] = style->fg[GTK_STATE_ACTIVE]; } else if (gaim_conversation_get_unseen(conv) == GAIM_UNSEEN_TEXT) { style->fg[GTK_STATE_ACTIVE].red = 0xDFDF; style->fg[GTK_STATE_ACTIVE].green = 0x4242; style->fg[GTK_STATE_ACTIVE].blue = 0x1E1E; + style->fg[GTK_STATE_NORMAL] = style->fg[GTK_STATE_ACTIVE]; } gtk_widget_set_style(gtkconv->tab_label, style);