[gnome-themes-standard] Futile attempt at controlling where engines are used



commit 5877126b5a5d46d40a5f2158df286fa0a572cf3a
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jan 4 17:33:37 2011 +0100

    Futile attempt at controlling where engines are used
    
    - clearlooks seems to be used all over even if I use it in the GtkNotebook {} selector
    - if clearlooks is used, background-color for tab:active would affect top stripe on inactive tabs as well.

 themes/Adwaita/gtk-3.0/gtk.css |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 041c2d6..34bb48d 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -176,6 +176,7 @@ GtkScale {
 
 GtkNotebook,
 .notebook {
+		engine: clearlooks;
     background-color: shade (@bg_color, 1.12);
     padding: 3;
     border-style: solid;
@@ -190,13 +191,14 @@ GtkNotebook,
   }
 
   GtkNotebook tab:active {
-      background-color: @selected_bg_color;
+      background-color: @base_color;
   }
 
 /* Scrollbars */
 
 GtkScrollbar {
   padding: 2; /* ??? */
+  engine: default; /* this doesn't seem to work, we still get clearlooks */
   -GtkRange-stepper-position-details: 1; /* no idea what this does */
   -GtkRange-trough-border: 2; /* adds some padding rather than border for the trough of the slider */
   -GtkRange-slider-width: 20; /* seems affect the whole width of the scrollbar */
@@ -230,7 +232,7 @@ GtkScrollbar {
 /* Buttons */
 
 .button {
-    /* engine: clearlooks; broken */
+    engine: clearlooks;
     padding: 3;
     -clearlooks-focus-color: mix (@bg_color, @selected_bg_color, 0.5);
     -clearlooks-focus-fill-color: alpha (@selected_bg_color, 0.05);



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