diff options
Diffstat (limited to 'gtk/engine/sugar-info.c')
-rw-r--r-- | gtk/engine/sugar-info.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/engine/sugar-info.c b/gtk/engine/sugar-info.c index b4313a7..b4bf9c5 100644 --- a/gtk/engine/sugar-info.c +++ b/gtk/engine/sugar-info.c @@ -191,7 +191,10 @@ sugar_fill_arrow_info (SugarArrowInfo *arrow_info, arrow_info->filled_triangle = FALSE; /* If the background is black, then we draw a solid triangle. */ - color = &info->style->bg[GTK_STATE_NORMAL]; + if (info->rc_style->color_flags & SUGAR_COLOR_BG) + color = &info->rc_style->colors[SUGAR_COLOR_BG]; + else + color = &info->style->bg[GTK_STATE_NORMAL]; if (color->red == 0 && color->green == 0 && color->blue == 0) arrow_info->filled_triangle = TRUE; } |