[gtk+] Set the style for .view so i.e the GtkTextView gets the right style.



commit 8de4661d8057578870bb27985a0e0e533d4a5783
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jan 7 11:34:35 2011 +0100

    Set the style for .view so i.e the GtkTextView gets the right style.

 gtk/gtkcssprovider.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 6f72071..02c3fff 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3638,7 +3638,12 @@ gtk_css_provider_get_default (void)
         "  color: shade (@bg_color, 0.7);\n"
         "}\n"
         "\n"
-        "GtkTreeView, GtkIconView, GtkTextView {\n"
+        "GtkTreeView, GtkIconView {\n"
+        "  background-color: @base_color;\n"
+        "  color: @text_color;\n"
+        "}\n"
+        "\n"
+        ".view {\n"
         "  background-color: @base_color;\n"
         "  color: @text_color;\n"
         "}\n"



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