From 8068ba00db1e6e5282c8b5989b58078cb82cc9d9 Mon Sep 17 00:00:00 2001 From: raveit Date: Sat, 23 Mar 2013 18:34:52 +0100 Subject: add GTK3 support to TraditionalOkTest --- .../TraditionalOkTest/gtk-2.0/applications.rc | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 desktop-themes/TraditionalOkTest/gtk-2.0/applications.rc (limited to 'desktop-themes/TraditionalOkTest/gtk-2.0/applications.rc') diff --git a/desktop-themes/TraditionalOkTest/gtk-2.0/applications.rc b/desktop-themes/TraditionalOkTest/gtk-2.0/applications.rc new file mode 100644 index 00000000..f71fa7ff --- /dev/null +++ b/desktop-themes/TraditionalOkTest/gtk-2.0/applications.rc @@ -0,0 +1,47 @@ +# Workaround for the evolution ETable (bug #527532) +widget_class "*.." style "treeview_header" +# Workaround for the evolution ETree +widget_class "*.." style "treeview_header" + +# Special case the caja-extra-view-widget +# ToDo: A more generic approach for all applications that have a widget like this. +widget "*.caja-extra-view-widget" style : highest "caja-location" + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.." style "text_is_fg_color_workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the base color. +widget_class "**" style "fg_is_text_color_workaround" +# GtkCList also uses the fg color to draw text on top of the base colors. +widget_class "*" style "fg_is_text_color_workaround" +# Caja when renaming files, and maybe other places. +widget_class "*" style "fg_is_text_color_workaround" + +# See the documentation of the style. +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround" + +########################################################################## +# Chromium. +########################################################################## + +style "chromium_toolbar_button" { + engine "clearlooks" { + colorize_scrollbar = TRUE + reliefstyle = 1 + menubarstyle = 2 + toolbarstyle = 1 + animation = FALSE + radius = 3.0 + style = GUMMY + + # Set a hint to disable backward compatibility fallbacks. + hint = "use-hints" + } +} + +widget_class "*Chrom*Button*" style "chromium_toolbar_button" + -- cgit v1.2.1