[gtk+/gtk-style-context: 169/347] GtkCssProvider: Set child combinators in default CSS.



commit 6ff5b8c6ee8d73b06ff398e89495825c7f247f76
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Aug 4 11:46:01 2010 +0200

    GtkCssProvider: Set child combinators in default CSS.

 gtk/gtkcssprovider.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index f741504..7c00ffe 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1580,7 +1580,7 @@ gtk_css_provider_get_default (void)
         "@tooltip_bg_color: #eee1b3; \n"
         "@tooltip_fg_color: #000; \n"
         "\n"
-        "*, GtkTreeView GtkButton {\n"
+        "*, GtkTreeView > GtkButton {\n"
         "  background-color: @bg_color;\n"
         "  foreground-color: @fg_color;\n"
         "  text-color: @text_color; \n"
@@ -1617,7 +1617,7 @@ gtk_css_provider_get_default (void)
         "  background-color: #ffffff; \n"
         "}\n"
         "\n"
-        "row:nth-child(odd) { \n"
+        "GtkTreeView > row:nth-child(odd) { \n"
         "  background-color: shade(#ffffff, 0.93); \n"
         "}\n"
         "\n"



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