# HG changeset patch # User Sean Egan # Date 1196756758 0 # Node ID 92ae7b2c95ed4fc0e6b1c28117886ab4e9c236d5 # Parent abd0cd2b712a736dba3cf96f15c7dfd9ad6e230d Don't set the color for the group node text, now that we're not setting its background diff -r abd0cd2b712a -r 92ae7b2c95ed pidgin/gtkblist.c --- a/pidgin/gtkblist.c Tue Dec 04 05:15:49 2007 +0000 +++ b/pidgin/gtkblist.c Tue Dec 04 08:25:58 2007 +0000 @@ -5710,7 +5710,6 @@ static char *pidgin_get_group_title(PurpleBlistNode *gnode, gboolean expanded) { PurpleGroup *group; - GdkColor textcolor; gboolean selected; char group_count[12] = ""; char *mark, *esc; @@ -5718,7 +5717,6 @@ GtkTreeIter iter; group = (PurpleGroup*)gnode; - textcolor = gtkblist->treeview->style->fg[GTK_STATE_ACTIVE]; if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(gtkblist->treeview)), NULL, &iter)) { gtk_tree_model_get(GTK_TREE_MODEL(gtkblist->treemodel), &iter, @@ -5733,12 +5731,7 @@ } esc = g_markup_escape_text(group->name, -1); - if (selected) - mark = g_strdup_printf("%s%s", esc ? esc : "", group_count); - else - mark = g_strdup_printf("%s%s", - textcolor.red>>8, textcolor.green>>8, textcolor.blue>>8, - esc ? esc : "", group_count); + mark = g_strdup_printf("%s%s", esc ? esc : "", group_count); g_free(esc); return mark;