diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2008-07-25 16:02:25 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2008-07-25 16:02:25 (GMT) |
commit | 1b20bb667b4ffa4cd9415dc5928368e83c3943d3 (patch) | |
tree | 4cea98192a81b4406f8ecf1a0d5473e348d334b9 | |
parent | c77b345c0259d4c63022d2d31280c75ff6d65e45 (diff) |
Add a special case for the SugarSectionView as it has a white background.
-rw-r--r-- | gtk/theme/gtkrc.em | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em index c82a54b..2d88bcf 100644 --- a/gtk/theme/gtkrc.em +++ b/gtk/theme/gtkrc.em @@ -181,6 +181,25 @@ style "window-child" } } + +style "white-bg" +{ + bg[NORMAL] = $white +} + +style "white-bg-child" +{ + bg[INSENSITIVE] = $white + base[INSENSITIVE] = $white + + fg[NORMAL] = $white + + engine "sugar" { + parent_fg_color = $black + parent_bg_color = $white + } +} + style "black-bg" { bg[NORMAL] = $black @@ -693,6 +712,9 @@ widget_class "<GtkWindow>*" style "window-child" widget_class "*<SugarAlert>" style "black-bg" widget_class "*<SugarAlert>*" style "black-bg-child" +widget_class "*<SugarSectionView>" style "white-bg" +widget_class "*<SugarSectionView>*" style "white-bg-child" + # The notebook is very high, so that everything is overriden # Only the color of the tab labels needs to be modified inside the |