GTK OSX theme reimplemented
[xboard.git] / osxapp / Mac / gtk-2.0 / gtkrc
diff --git a/osxapp/Mac/gtk-2.0/gtkrc b/osxapp/Mac/gtk-2.0/gtkrc
new file mode 100644 (file)
index 0000000..3744371
--- /dev/null
@@ -0,0 +1,672 @@
+# GIMP GTK+ 2 Mac integration theme\r
+# Author: scl\r
+#\r
+# Based upon:\r
+#     Zukitwo by lassekongo83\r
+#     Gnome-Cupertino by Rafa Cobreros\r
+#\r
+# Requirements:\r
+#     Murrine Theme Engine\r
+#     For a documentation of the Murrine properties see\r
+#     https://wiki.ubuntu.com/Artwork/Documentation/Murrine\r
+#\r
+# For explanations of the theme properties see:\r
+#   - the GTK+ 2 Settings Reference Manual\r
+#       https://developer.gnome.org/gtk2/2.24/GtkSettings.html\r
+#   - the API documentation of the GTK widgets and\r
+#   - the Murrine Engine documentation:\r
+#       https://wiki.ubuntu.com/Artwork/Documentation/Murrine\r
+#\r
+# This theme is free software: you can redistribute it and/or modify\r
+# it under the terms of the GNU General Public License as published by\r
+# the Free Software Foundation, either version 3 of the License, or\r
+# (at your option) any later version.\r
+#\r
+# This program is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+# GNU General Public License for more details.\r
+#\r
+# You should have received a copy of the GNU General Public License\r
+# along with this program. If not, see <http://www.gnu.org/licenses/>.\r
+#\r
+# See the file COPYING for the full license text.\r
+#\r
+\r
+# Global settings #\r
+\r
+## Color definitions ##\r
+# Background, base:\r
+gtk_color_scheme = "bg_color:#e8e8e8\nselected_bg_color:#6699cc\nbase_color:#f7f7f7"\r
+\r
+# Foreground, text:\r
+gtk_color_scheme = "fg_color:#2c2c2c\nselected_fg_color:#f5f5f5\ntext_color:#2c2c2c"\r
+\r
+# Tooltips:\r
+gtk_color_scheme = "tooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000"\r
+\r
+ # Hyperlinks:\r
+gtk_color_scheme = "link_color:#08c"\r
+\r
+# Dark colors:\r
+gtk_color_scheme = "bg_color_dark:#3f3f3f\ntext_color_dark:#ffffff"\r
+\r
+# Filechooser sidebar background:\r
+gtk-color-scheme = "sidebar_background:#e1e5eb"\r
+\r
+\r
+## Miscellanous definitions ##\r
+gtk-auto-mnemonics = 1  # disables ugly lines under menu items\r
+gtk-button-images  = 0  # enables icons in buttons\r
+gtk-icon-sizes     = "gtk-button=16,16"  # reduce button icon size\r
+gtk-toolbar-style  = 0  # disables text in toolbar\r
+\r
+# Styles #\r
+## Basic styles ##\r
+style "default"\r
+{\r
+  ### Color Definitions ###\r
+  base[ACTIVE]      = shade (0.92, @selected_bg_color)\r
+  base[INSENSITIVE] = @bg_color\r
+  base[NORMAL]      = @base_color\r
+  base[PRELIGHT]    = shade (0.95, @bg_color)\r
+  base[SELECTED]    = shade (0.93, @selected_bg_color)\r
+  bg[ACTIVE]        = shade (1.04, @bg_color)\r
+  bg[INSENSITIVE]   = @bg_color\r
+  bg[NORMAL]        = @bg_color\r
+  bg[PRELIGHT]      = shade (1.02, @bg_color)\r
+  bg[SELECTED]      = @selected_bg_color\r
+  fg[ACTIVE]        = @fg_color\r
+  fg[INSENSITIVE]   = darker (@bg_color)\r
+  fg[NORMAL]        = @fg_color\r
+  fg[PRELIGHT]      = @fg_color\r
+  fg[SELECTED]      = @selected_fg_color\r
+  text[ACTIVE]      = @selected_fg_color\r
+  text[INSENSITIVE] = darker (@bg_color)\r
+  text[NORMAL]      = @text_color\r
+  text[PRELIGHT]    = @text_color\r
+  text[SELECTED]    = @selected_fg_color\r
+\r
+  xthickness = 1\r
+  ythickness = 1\r
+\r
+  GnomeHRef::link_color                      = @link_color\r
+  GtkHTML::link-color                        = @link_color\r
+  GtkIMHtmlr::hyperlink-color                = @link_color\r
+  GtkIMHtml::hyperlink-color                 = @link_color\r
+  GtkWidget::link-color                      = @link_color\r
+  GtkWidget::visited-link-color              = @text_color\r
+  GtkButton::child-displacement-x            = 1\r
+  GtkButton::child-displacement-y            = 1\r
+  GtkButton::default-border                  = {0, 0, 0, 0}\r
+  GtkCheckButton::indicator-size             = 15\r
+  GtkWidget::new-tooltip-style               = 1\r
+  GtkWidget::focus-line-width                = 1\r
+\r
+  # 0 = prevent the Firefox tabs from jumping a few pixels when creating a new\r
+  # tab. Set the value locally if needed.\r
+  GtkWidget::focus-padding                   = 0\r
+\r
+  GtkImage::x-ayatana-indicator-dynamic      = 1\r
+  GtkScrollbar::activate-slider              = 0\r
+  GtkScrollbar::has-backward-stepper         = 0\r
+  GtkScrollbar::has-forward-stepper          = 1\r
+  GtkScrollbar::min-slider-length            = 30\r
+  GtkScrollbar::slider-width                 = 9\r
+  GtkScrollbar::stepper-size                 = 1\r
+  GtkScrollbar::trough-border                = 3\r
+  GtkScrollbar::trough-side-details          = 0\r
+  GtkScrolledWindow::scrollbar-spacing       = 0\r
+  GtkScrolledWindow::scrollbars-within-bevel = 1\r
+  GtkPaned::handle-size                      = 6\r
+  GtkRange::slider-width                     = 11\r
+  GtkRange::stepper-size                     = 0\r
+  GtkRange::stepper_spacing                  = 0\r
+  GtkRange::trough-border                    = 0\r
+  GtkRange::trough-under-steppers            = 0\r
+  GtkScale::slider-length                    = 14\r
+  GtkScale::slider-width                     = 14\r
+  GtkMenuBar::internal-padding               = 0\r
+  GtkExpander::expander-size                 = 16\r
+  GtkToolbar::internal-padding               = 0\r
+  GtkTreeView::expander-size                 = 6\r
+  GtkTreeView::indent-expanders              = 1\r
+  GtkTreeView::vertical-separator            = 1\r
+  GtkNotebook::tab-curvature                 = 1  # 1 = default\r
+  GtkNotebook::tab-overlap                   = 2  # 2 = default\r
+  GtkMenu::horizontal-padding                = 0\r
+  GtkMenu::vertical-padding                  = 0\r
+  WnckTasklist::fade-overlay-rect            = 0\r
+\r
+  # 1 = hint to Gecko (and possibly other appliations) that the entry should be\r
+  # drawn transparently on the canvas. Without this, Gecko will fill in the\r
+  # background of the entry.\r
+  GtkEntry::honors-transparent-bg-hint       = 1\r
+\r
+  GtkEntry::state-hint                       = 0\r
+  GtkEntry::progress-border                  = {2, 2, 2, 2}\r
+  GtkProgressBar::min-horizontal-bar-height  = 16\r
+  GtkProgressBar::min-vertical-bar-width     = 16\r
+  GtkMenuBar::window-dragging                = 1\r
+  GtkToolbar::window-dragging                = 1\r
+\r
+  # remove little ugly gripper at the bottom right\r
+  GtkWindow::resize-grip-height              = 0\r
+  GtkWindow::resize-grip-width               = 0\r
+\r
+  # Murrine engine properties\r
+  engine "murrine"\r
+  {\r
+    animation            = FALSE\r
+    arrowstyle           = 1  # 1 = filled arrows\r
+    border_shades        = {1.0, 0.7}  # gradient to draw on border\r
+    colorize_scrollbar   = TRUE\r
+    comboboxstyle        = 0  # 0 = normal combobox\r
+    contrast             = 0.4  # 0.4 for less contrast on borders\r
+    default_button_color = "#4c8ed4"\r
+    expanderstyle        = 0\r
+    focus_color          = @selected_bg_color\r
+    focusstyle           = 3\r
+    glazestyle           = 1  # 1 = curved highlight\r
+    glow_shade           = 1.1\r
+    glowstyle            = 1  # 1 = bottom\r
+    gradient_shades      = {1.31, 1.0, 1.0, 1.2}  # gradients on the widgets\r
+    highlight_shade      = 1.0  # highlight amount for buttons or widgets\r
+    lightborder_shade    = 1.1  # lightborder amount for buttons or widgets\r
+    lightborderstyle     = 0  # 0 = lightborder on top side\r
+    listviewheaderstyle  = 1  # 1 = glassy\r
+    listviewstyle        = 1  # 1 = dotted\r
+    menubaritemstyle     = 0  # 0 = menuitem look\r
+    menubarstyle         = 2  # 2 = gradient\r
+    menuitemstyle        = 0  # 0 = flat\r
+    menustyle            = 0  # 0 = no vertical menu stripe\r
+\r
+    # shade level for scrollbar's slider, comboboxstyle(1), and prelight state\r
+    # with gradient_colors:\r
+    prelight_shade       = 0.95\r
+\r
+    progressbarstyle     = 0  # 0 = nothing\r
+    reliefstyle          = 2  # 2 = shadow\r
+    rgba                 = FALSE  # FALSE = disabled\r
+    roundness            = 3  # 0 = squared, greater values increase roundness\r
+    scrollbarstyle       = 0  # 0 = nothing\r
+    separatorstyle       = 1  # 1 = smooth separators\r
+    shadow_shades        = {0.5, 0.0}  # gradient for shadows\r
+    sliderstyle          = 0  # 0 = nothing added\r
+    stepperstyle         = 1  # 1 = integrated stepper handles\r
+    textstyle            = 0  # 0 = normal text,1=inset and very resource heavy!\r
+    toolbarstyle         = 2  # 2 = gradient\r
+\r
+    # draw gradient on trough of GtkScrollbar and GtkProgressbar:\r
+    trough_shades        = {0.95, 1.05}\r
+  }\r
+}\r
+\r
+style "thin" = "default"\r
+{\r
+  xthickness = 0\r
+  ythickness = 0\r
+}\r
+\r
+style "wide" = "default"\r
+{\r
+  xthickness = 2\r
+  ythickness = 2\r
+}\r
+\r
+style "wider" = "default"\r
+{\r
+  xthickness = 3\r
+  ythickness = 3\r
+}\r
+\r
+style "widest" = "default"\r
+{\r
+  xthickness = 4\r
+  ythickness = 4\r
+}\r
+\r
+## Widget styles ##\r
+style "button" = "wider"\r
+{\r
+  bg[ACTIVE]      = shade (0.85, @bg_color)\r
+  bg[INSENSITIVE] = shade (0.95, @bg_color)\r
+  bg[NORMAL]      = shade (1.06, @bg_color)\r
+  bg[PRELIGHT]    = shade (1.2, @bg_color)\r
+  bg[SELECTED]    = shade (1.0, @selected_bg_color)\r
+\r
+  engine "murrine"\r
+  {\r
+    contrast          = 0.8\r
+    lightborder_shade = 1.9\r
+    roundness         = 3\r
+  }\r
+}\r
+\r
+style "comboboxentry"\r
+{\r
+  engine "murrine"\r
+  {\r
+    contrast = 0.4\r
+  }\r
+}\r
+\r
+style "entry"\r
+{\r
+  # text input box\r
+  base[ACTIVE]      = "#b5d5ff"  # background of active text\r
+  base[INSENSITIVE] = shade(0.85, @base_color)  # background text-box disabled\r
+  base[NORMAL]      = @base_color  # background text-box\r
+  base[SELECTED]    = "#b5d5ff"  # background of selected text\r
+  bg[INSENSITIVE]   = shade(0.85, @base_color)  # background spinbutton disabled\r
+                                                # (probably a bug)\r
+  bg[NORMAL]        = @bg_color  # base color of edges\r
+  text[ACTIVE]      = @text_color\r
+  text[SELECTED]    = @text_color\r
+\r
+  xthickness = 3\r
+  ythickness = 3\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades = {1.2, 0.90}\r
+    contrast      = 0.7\r
+    focus_color   = shade(0.75, mix(0.95, "#83aadc", @bg_color))\r
+    roundness     = 2\r
+  }\r
+}\r
+\r
+style "filechooser-sidepane-treeview" = "treeview"\r
+{\r
+  base[NORMAL] = @sidebar_background  # background\r
+  bg[NORMAL]   = shade (0.91, @base_color)\r
+  bg[PRELIGHT] = @fg_color\r
+\r
+  GtkTreeView::allow-rules    = 0  # disable alternating row colors\r
+  GtkTreeView::even_row_color = @sidebar_background\r
+\r
+  engine "murrine"\r
+  {\r
+    contrast = 0.80\r
+  }\r
+}\r
+\r
+style "frame-title"\r
+{\r
+  fg[NORMAL] = lighter (@fg_color)\r
+}\r
+\r
+style "menu"\r
+{\r
+  bg[NORMAL] = @base_color\r
+\r
+  xthickness = 0\r
+  ythickness = 0\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades = {1.2, 1.0}\r
+    roundness     = 0  # roundness of menu items\r
+    textstyle     = 0\r
+  }\r
+}\r
+\r
+style "menu-item" = "wider"\r
+{\r
+  bg[SELECTED] = shade (0.95, @selected_bg_color)\r
+  bg[PRELIGHT] = shade (0.95, @selected_bg_color)\r
+  fg[PRELIGHT] = @selected_fg_color\r
+\r
+  xthickness = 2\r
+  ythickness = 3\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades = {1.2, 1.0}\r
+    roundness     = 0\r
+    textstyle     = 0\r
+  }\r
+}\r
+\r
+# This style is there to modify the separator menu items. The goals are:\r
+# 1. Get a specific height.\r
+# 2. The line should go to the edges (i.e. no border at the left/right)\r
+style "menu-separator-item"\r
+{\r
+  bg[NORMAL] = @base_color  # Remove for visible separators\r
+\r
+  xthickness = 1\r
+  ythickness = 0\r
+\r
+  GtkSeparatorMenuItem::horizontal-padding = 0\r
+  GtkWidget::separator-height              = 7\r
+  GtkWidget::separator-width               = 1\r
+  GtkWidget::wide-separators               = 1\r
+\r
+  engine "murrine"\r
+  {\r
+    contrast       = 0.0  # set the contrast to 0.6 for visible separators.\r
+    separatorstyle = 0\r
+  }\r
+}\r
+\r
+style "menubar" = "default"\r
+{\r
+  bg[NORMAL]   = @bg_color\r
+  fg[NORMAL]   = @fg_color\r
+  fg[PRELIGHT] = @fg_color\r
+  fg[SELECTED] = @fg_color\r
+}\r
+\r
+style "menubar-menuitem" = "wider"\r
+{\r
+  bg[PRELIGHT] = @selected_bg_color\r
+  bg[SELECTED] = @bg_color\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades   = {1.0, 0.8}\r
+    contrast        = 0.0\r
+    gradient_shades = {1.0, 1.0, 0.85, 0.85}\r
+    roundness       = 0\r
+  }\r
+}\r
+\r
+style "notebook"\r
+{\r
+  bg[ACTIVE] = shade (1.04, @bg_color)  # unselected tab\r
+  bg[NORMAL] = shade (0.96, @bg_color)  # selected tab entire\r
+\r
+  xthickness = 2\r
+  ythickness = 2\r
+\r
+  engine "murrine"\r
+  {\r
+    contrast        = 0.75\r
+    focus_color     = shade (0.96, @bg_color)\r
+    focusstyle      = 2\r
+    gradient_shades = {1.18, 0.96, 0.92, 0.92}\r
+    roundness       = 3\r
+  }\r
+}\r
+\r
+# performance fix if murrine textstyle is on by default in the theme.\r
+style "performance-fix"\r
+{\r
+  engine "murrine"\r
+  {\r
+    textstyle = 0\r
+  }\r
+}\r
+\r
+style "progressbar"\r
+{\r
+  bg[SELECTED] = @selected_bg_color\r
+\r
+  xthickness = 0\r
+  ythickness = 0\r
+\r
+  engine "murrine"\r
+  {\r
+    gradient_shades = {1.17, 1.00, 1.01, 1.12}\r
+    roundness       = 2\r
+  }\r
+}\r
+\r
+style "radiocheck" = "wider"\r
+{\r
+  bg[ACTIVE]      = shade (0.85, @bg_color)\r
+  bg[INSENSITIVE] = shade (0.95, @bg_color)\r
+  bg[NORMAL]      = shade (1.06, @bg_color)\r
+  bg[PRELIGHT]    = shade (1.06, @bg_color)\r
+  bg[SELECTED]    = @selected_bg_color\r
+\r
+  engine "murrine"\r
+  {\r
+    contrast          = 0.8\r
+    lightborder_shade = 1.9\r
+  }\r
+}\r
+\r
+style "radiocheck-menu"\r
+{\r
+  fg[PRELIGHT]   = @selected_fg_color\r
+  text[PRELIGHT] = @selected_fg_color\r
+}\r
+\r
+style "scale" = "wider"\r
+{\r
+  bg[ACTIVE]      = shade (0.85, @bg_color)\r
+  bg[INSENSITIVE] = shade (0.95, @bg_color)\r
+  bg[NORMAL]      = shade (1.06, @bg_color)\r
+  bg[PRELIGHT]    = shade (1.2, @bg_color)\r
+  bg[SELECTED]    = @selected_bg_color\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades = {1.0, 1.0}\r
+    contrast      = 0.8\r
+    roundness     = 7\r
+    trough_shades = {1.06, 1.16}\r
+  }\r
+}\r
+\r
+style "scrollbar"\r
+{\r
+  bg[ACTIVE]   = shade (0.96, @base_color)\r
+  bg[SELECTED] = shade (0.74, @base_color)\r
+\r
+  # steppers' color\r
+  fg[ACTIVE]      = @base_color\r
+  fg[INSENSITIVE] = @base_color\r
+  fg[NORMAL]      = @base_color\r
+  fg[PRELIGHT]    = @base_color\r
+  fg[SELECTED]    = @base_color\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades     = {0.935, 1.00}\r
+    contrast          = 0.00\r
+    glow_shade        = 1.0\r
+    gradient_colors   = FALSE\r
+    gradient_shades   = {1.0, 1.0, 1.0, 1.0}\r
+    highlight_shade   = 1.0\r
+    lightborder_shade = 1.0\r
+    lightborderstyle  = 0\r
+    prelight_shade    = 0.75\r
+    roundness         = 8\r
+    trough_shades     = {0.935, 1.00}\r
+    }\r
+}\r
+\r
+style "spinbutton"\r
+{\r
+  bg[NORMAL] = @base_color\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades     = {1.0, 0.7}\r
+    contrast          = 0.70\r
+    gradient_shades   = {1.01, 1.00, 1.00, 0.93}\r
+    lightborder_shade = 1.00\r
+    lightborderstyle  = 1\r
+  }\r
+}\r
+\r
+style "statusbar"\r
+{\r
+  font_name  = "10"\r
+  xthickness = 2\r
+}\r
+\r
+style "toolbar" = "thin"\r
+{\r
+  bg[NORMAL] = @bg_color\r
+}\r
+\r
+style "tooltips" = "wider"\r
+{\r
+  bg[NORMAL] = @tooltip_bg_color\r
+  fg[NORMAL] = @tooltip_fg_color\r
+\r
+  engine "murrine"\r
+  {\r
+    textstyle = 0\r
+  }\r
+}\r
+\r
+style "treeview"\r
+{\r
+  bg[SELECTED]   = @selected_bg_color    # background mini-checkbox checked\r
+  fg[NORMAL]     = @fg_color  # header text color\r
+  text[ACTIVE]   = @selected_fg_color  # text+indicator selected unfocused\r
+  text[NORMAL]   = shade (1.05, @fg_color)  # text+indicator checked normal\r
+  text[SELECTED] = @selected_fg_color  # text+indicator selected focused\r
+\r
+  # enable alternating row colors for the file chooser's middle pane:\r
+  GtkTreeView::allow-rules    = 1\r
+  GtkTreeView::odd_row_color  = mix (0.05, @selected_bg_color, @base_color)\r
+  GtkTreeView::even_row_color = @base_color\r
+\r
+  engine "murrine"\r
+  {\r
+    gradient_shades = {1.00, 1.05, 1.05, 1.10}\r
+    roundness       = 2\r
+    separatorstyle  = 0\r
+  }\r
+}\r
+\r
+style "treeview-header"\r
+{\r
+  bg[ACTIVE]      = "#80b8ea"\r
+  bg[INSENSITIVE] = "#ffffff"\r
+  bg[NORMAL]      = shade (0.95, "#ffffff")\r
+  bg[PRELIGHT]    = shade (1.05, "#80b8ea")\r
+  bg[SELECTED]    = shade (0.95, "#80b8ea")\r
+\r
+  ythickness = 1\r
+\r
+  GtkWidget::focus-padding = 0\r
+\r
+  engine "murrine"\r
+  {\r
+    border_shades    = {1.2, 1.05}\r
+    contrast         = 1.22\r
+    gradient_shades  = {1.20, 1.02, 0.99, 1.15}\r
+    lightborderstyle = 1\r
+    textstyle = 1\r
+  }\r
+}\r
+\r
+# workaround style for widgets that use the text color instead of the fg color:\r
+style "workaround-for-text-is-fg-color"\r
+{\r
+  text[ACTIVE]      = @fg_color\r
+  text[INSENSITIVE] = darker (@bg_color)\r
+  text[NORMAL]      = @fg_color\r
+  text[PRELIGHT]    = @fg_color\r
+  text[SELECTED]    = @selected_fg_color\r
+}\r
+\r
+# workaround style for menus that use the text color instead of the fg color:\r
+style "workaround-for-menuitem-text-is-fg-color"\r
+{\r
+  text[ACTIVE]      = @fg_color\r
+  text[INSENSITIVE] = darker (@bg_color)\r
+  text[NORMAL]      = @fg_color\r
+  text[PRELIGHT]    = @selected_fg_color\r
+  text[SELECTED]    = @selected_fg_color\r
+}\r
+\r
+# workaround style for widgets that use the fg color instead of the text color:\r
+style "workaround-for-fg-is-text-color"\r
+{\r
+  fg[ACTIVE]      = @selected_fg_color\r
+  fg[INSENSITIVE] = darker (@bg_color)\r
+  fg[NORMAL]      = @text_color\r
+  fg[PRELIGHT]    = @text_color\r
+  fg[SELECTED]    = @selected_fg_color\r
+}\r
+\r
+# Assign styles to the widgets #\r
+\r
+# Apply default style to every widget:\r
+class "GtkWidget"     style "default"\r
+\r
+# Increase the x/ythickness (= space) in some widgets.\r
+class "GtkFrame"      style "wide"\r
+class "GtkEntry"      style "entry"\r
+class "GtkSeparator"  style "wide"\r
+class "GtkCalendar"   style "wide"\r
+\r
+class "GtkInfoBar"    style "default"\r
+class "GtkIconView"   style "default"\r
+class "GtkSpinButton" style "spinbutton"\r
+widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"\r
+class "GtkScale"      style "scale"\r
+class "GtkVScale"     style "scale"\r
+class "GtkHScale"     style "scale"\r
+class "GtkScrollbar"  style "scrollbar"\r
+class "GtkVScrollbar" style "scrollbar"\r
+class "GtkHScrollbar" style "scrollbar"\r
+\r
+# General matching following, later matching styles override earlier matches.\r
+widget_class "*<GtkNotebook>"               style "notebook"\r
+widget_class "*<GtkButton>"                 style "button"\r
+widget_class "*<GtkStatusbar>*"             style "statusbar"\r
+widget_class "*<GtkComboBoxEntry>*"         style "comboboxentry"\r
+widget_class "*<GtkCombo>*"                 style "comboboxentry"\r
+widget_class "*<GtkMenuBar>*"               style "menubar"\r
+widget_class "*<GtkMenu>*"                  style "menu"\r
+widget_class "*<GtkMenuItem>*"              style "menu-item"\r
+widget_class "*<GtkSeparatorMenuItem>*"     style "menu-separator-item"\r
+widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar-menuitem"\r
+widget_class "*<GtkMenuBar>*<GtkSeparatorMenuItem>*" style "menu-separator-item"\r
+widget_class "*.<GtkFrame>.<GtkLabel>"      style "frame-title"\r
+widget_class "*.<GtkTreeView>*"             style "treeview"\r
+widget_class\r
+  "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*"\r
+  style "filechooser-sidepane-treeview"\r
+widget_class "*<GtkProgress>"               style "progressbar"\r
+widget_class "*<GtkProgressBar>"            style "progressbar"\r
+widget_class "*<GtkRadioButton>*"           style "radiocheck"\r
+widget_class "*<GtkCheckButton>*"           style "radiocheck"\r
+class "GtkCheckMenuItem"                    style:highest "radiocheck-menu"\r
+class "GtkRadioMenuItem"                    style:highest "radiocheck-menu"\r
+\r
+# Treeview header\r
+widget_class "*.<GtkTreeView>.<GtkButton>"  style "treeview-header"\r
+widget_class "*.<GtkCTree>.<GtkButton>"     style "treeview-header"\r
+widget_class "*.<GtkList>.<GtkButton>"      style "treeview-header"\r
+widget_class "*.<GtkCList>.<GtkButton>"     style "treeview-header"\r
+\r
+# FIXME: This will not work if one embeds eg. a button into the tooltip.\r
+widget "gtk-tooltip*" style "tooltips"\r
+\r
+# Special cases and workarounds: #\r
+\r
+# workaround for http://bugzilla.gnome.org/show_bug.cgi?id=382646\r
+# Note that this workaround assumes that the combobox is _NOT_ in\r
+# appears-as-list mode.\r
+widget_class "*.<GtkComboBox>.<GtkCellView>"\r
+  style "workaround-for-text-is-fg-color"\r
+\r
+# This is the part of the workaround that fixes the menus\r
+widget "*.gtk-combobox-popup-menu.*"\r
+  style "workaround-for-menuitem-text-is-fg-color"\r
+\r
+# workaround the usage of GtkLabel inside GtkListItems to display text.\r
+# This breaks because the label is shown on a background that is based on\r
+# the base color.\r
+widget_class "*<GtkListItem>*" style "workaround-for-fg-is-text-color"\r
+\r
+# GtkCList also uses the fg color to draw text on top of the base colors.\r
+widget_class "*<GtkCList>" style "workaround-for-fg-is-text-color"\r
+\r
+# Draw arrows dark on dark toolbars.\r
+widget_class "*GtkToolbar*GtkArrow*"        style "default"\r
+\r
+# Various performance fixes if murrine textstyle is on by default in the theme.\r
+widget_class "*GimpDisplayShell*"           style "performance-fix"\r
+widget_class "*GimpToolbox*"                style "performance-fix"\r
+widget_class "*GimpMenuDock*"               style "performance-fix"
\ No newline at end of file