static GtkStyle *normal_color_style;
static GtkStyle *bold_style;
static GtkStyle *bold_color_style;
+static GtkStyle *bold_tgtfold_style;
static GdkPixmap *inboxxpm;
static GdkBitmap *inboxxpmmask;
bold_style->font = boldfont;
bold_color_style = gtk_style_copy(bold_style);
bold_color_style->fg[GTK_STATE_NORMAL] = folderview->color_new;
+
+ bold_tgtfold_style = gtk_style_copy(bold_style);
+ bold_tgtfold_style->fg[GTK_STATE_NORMAL] = folderview->color_op;
}
if (!normal_style) {
normal_style = gtk_style_copy(gtk_widget_get_style(ctree));
else if (use_bold) {
style = bold_style;
if (item->op_count > 0) {
- gtk_ctree_node_set_foreground(ctree, node,
- &folderview->color_op);
- } else {
- style = bold_style;
+ style = bold_tgtfold_style;
}
}
else if (use_color) {
&folderview->color_new);
}
else if (item->op_count > 0) {
- style = normal_color_style;
- gtk_ctree_node_set_foreground(ctree, node,
- &folderview->color_op);
+ style = bold_tgtfold_style;
} else {
style = normal_style;
}