diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/engine/sugar-info.c | 5 | ||||
-rw-r--r-- | gtk/theme/gtkrc.em | 1 |
2 files changed, 5 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; } diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em index 5a4078f..f22a3e8 100644 --- a/gtk/theme/gtkrc.em +++ b/gtk/theme/gtkrc.em @@ -822,6 +822,7 @@ widget_class "*<GtkScrolledWindow>.<GtkHScrollbar>" style "hscrollbar-scrolled-w # Toolbar widget_class "*<GtkToolButton>*" style "toolbutton" +widget_class "*<SugarColorToolButton>*" style "toolbutton" widget_class "*<GtkSeparatorToolItem>*" style "separatortoolbutton" widget_class "*<GtkToolbar>" style "toolbar" |