# HG changeset patch # User Nathan Walp # Date 1045022096 0 # Node ID 3db8a7cfd9716ee6be613de14582b01d7e0e8507 # Parent 00e46bfa0eba05b26b29e52435d2ba606f8aa78a [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 diff -r 00e46bfa0eba -r 3db8a7cfd971 src/gtkconv.c --- 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);