[gtk+/gtk-style-context] GtkCssProvider: Render radio and check boxes framess in menus.



commit e22e6cd29053077a3e755266b64b78420afa13b2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 22 21:44:36 2010 +0100

    GtkCssProvider: Render radio and check boxes framess in menus.

 gtk/gtkcssprovider.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index e293ae5..9cd6fb4 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3565,6 +3565,13 @@ gtk_css_provider_get_default (void)
         "  background-color: @selected_bg_color;\n"
         "  color: @selected_fg_color;\n"
         "}\n"
+        "\n"
+        ".menu .check,\n"
+        ".menu .radio,\n"
+        ".menu .check:active,\n"
+        ".menu .radio:active {\n"
+        "  border-style: none;\n"
+        "}\n"
         "\n";
 
       provider = gtk_css_provider_new ();



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