[gnome-themes-standard] gtk2: fix wrong hover bg color for custom Chrome menu items
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] gtk2: fix wrong hover bg color for custom Chrome menu items
- Date: Mon, 3 Sep 2012 02:13:26 +0000 (UTC)
commit 7651580d4ef1d1d46959cf8e64c0db5d65153647
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Sep 2 22:11:52 2012 -0400
gtk2: fix wrong hover bg color for custom Chrome menu items
themes/Adwaita/gtk-2.0/gtkrc | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index b532cd8..7c9b33a 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -1769,6 +1769,11 @@ style "chrome-gtk-frame"
ChromeGtkFrame::scrollbar-slider-normal-color = @bg_color
}
+style "chrome_menu_item"
+{
+ bg[SELECTED] = @selected_bg_color
+}
+
style "null"
{
engine "pixmap"
@@ -1797,8 +1802,6 @@ class "GtkScrolledWindow" style "scrolled_window"
class "GtkFrame" style "frame"
class "GtkToolbar" style "toolbar"
-class "ChromeGtkFrame" style "chrome-gtk-frame"
-
widget_class "*<GtkMenuBar>*" style "menubar"
widget_class "*<GtkMenu>*" style "menu"
widget_class "*<GtkMenuItem>*" style "menu_item"
@@ -1815,7 +1818,10 @@ widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "combobox_entry_button"
widget_class "*<GtkInfoBar>*<GtkButton>" style "button_nohilight"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport"
-widget_class "*Chrom*Button*" style "button"
+# Chrome/Chromium
+class "ChromeGtkFrame" style "chrome-gtk-frame"
+widget_class "*Chrom*Button*" style "button"
+widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
widget "gtk-tooltip*" style "tooltips"
widget "*swt*toolbar*" style "null"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]