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



commit ac904d170b141b9dd2e11076dfd2b19282bea912
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 f262f1d..ad91ef3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -635,8 +635,6 @@ GtkComboBox.button {
 
     -GtkWidget-window-dragging: true;
     -GtkToolbar-button-relief: 0;
-    -GtkWidget-separator-width: 1;
-    -GtkWidget-wide-separators: 1;
 }
 
 .primary-toolbar.toolbar:insensitive {
@@ -713,7 +711,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]