[gtk+] gtk: don't style GtkLabel:selected's color separately



commit c99069992207fd93847f5fb1adf12fb28bb36d15
Author: Michael Natterer <mitch gimp org>
Date:   Sat Feb 5 14:10:18 2011 +0100

    gtk: don't style GtkLabel:selected's color separately
    
    or labels in selected state will not have a different color. Reviewed
    by Carlos.

 gtk/gtkcssprovider.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index d958947..578dbd6 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -4036,12 +4036,10 @@ gtk_css_provider_get_default (void)
         "\n"
         "GtkLabel:selected {\n"
         "  background-color: shade (@bg_color, 0.9);\n"
-        "  color: @fg_color;\n"
         "}\n"
         "\n"
         "GtkLabel:selected:focused {\n"
         "  background-color: @selected_bg_color;\n"
-        "  color: @selected_fg_color;\n"
         "}\n"
         "\n"
         ".spinner:active {\n"



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