[gtk+] theme: Fix prelight on selected rows' expanders



commit e8c78edeb220e47d64d491770ae1747e2277654c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Apr 3 12:21:57 2011 +0200

    theme: Fix prelight on selected rows' expanders
    
    There was no prelight effect on selected rows' expanders with the
    builtin theme, noticed by Kris Rietveld.

 gtk/gtkcssprovider.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 9557a33..facac8a 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3805,7 +3805,8 @@ gtk_css_provider_get_default (void)
         "  color: #fff;\n"
         "}\n"
         "\n"
-        ".expander:prelight {\n"
+        ".expander:prelight,\n"
+        "GtkTreeView.view.expander:selected:prelight {\n"
         "  color: @text_color;\n"
         "}\n"
         "\n"



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