[gnome-themes-standard/gnome-3-0] adwaita: don't propagate an 1px separator width to the whole toolbar



commit f254f3d22e6fe23b304f8d1524a6799e5031cf02
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Mar 30 11:41:56 2011 -0400

    adwaita: don't propagate an 1px separator width to the whole toolbar
    
    Instead, set a match rule on GtkSeparatorToolItem, which is what we
    actuallly want to theme.
    
    This fixes e.g. GtkComboboxes showing separators when on primary
    toolbars, as described in https://bugzilla.gnome.org/show_bug.cgi?id=646194

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index ba977b8..33e7ee5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -701,8 +701,6 @@ GtkComboBox.button {
 
     -GtkWidget-window-dragging: true;
     -GtkToolbar-button-relief: 0;
-    -GtkWidget-separator-width: 1;
-    -GtkWidget-wide-separators: 1;
 }
 
 .primary-toolbar.toolbar:insensitive {
@@ -779,7 +777,10 @@ GtkComboBox.button {
     -adwaita-border-gradient: none;
 }
 
-.primary-toolbar.toolbar.separator {
+.primary-toolbar.toolbar GtkSeparatorToolItem {
+    -GtkWidget-wide-separators: 1;
+    -GtkWidget-separator-width: 1;
+
     border-style: solid;
     border-width: 1;
     border-color: shade (@theme_bg_color, 0.56);



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