[gnome-themes-standard] menu: ensure insensitive menu items get the right background



commit 36b80f8c3f017ea7e30bbf3724e68b5dab59b7d8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Nov 2 14:46:50 2012 -0400

    menu: ensure insensitive menu items get the right background
    
    For some reason GTK+ master exposes a new bug in the menu theming code;
    we forgot to ensure the insensitive state of the menu has the correct
    background color.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5b4c840..ae32267 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2275,6 +2275,10 @@ GtkTreeMenu .menuitem,
     background-color: @theme_selected_bg_color;
 }
 
+.menu .menuitem:insensitive {
+    background-color: @menu_bg_color;
+}
+
 .menu .menuitem:active,
 .menu .menuitem *:active,
 .menu .menuitem:hover,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]