[gtk+/gtk-style-context] Add an outline around menu popups



commit 75fdc6180fbf5912e2225e559cdfd311ae4323f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 17 01:39:03 2010 -0500

    Add an outline around menu popups

 gtk/gtkcssprovider.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 30c1943..56c1dd1 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3155,8 +3155,7 @@ gtk_css_provider_get_default (void)
         "  color: @text_color;\n"
         "}\n"
         "\n"
-        ".menu.check,\n"
-        ".menu.radio {\n"
+        ".menu.check, .menu.radio {\n"
         "  color: @fg_color;\n"
         "}\n"
         "\n"
@@ -3165,6 +3164,11 @@ gtk_css_provider_get_default (void)
         "  border-style: none;\n"
         "}\n"
         "\n"
+        ".popup {\n"
+        "  border-style: outset;\n"
+        "  border-width: 1;\n"
+        "}\n"
+        "\n"
         ".viewport {\n"
         "  border-style: inset;\n"
         "  border-width: 2;\n"
@@ -3174,6 +3178,7 @@ gtk_css_provider_get_default (void)
         "  border-style: outset;\n"
         "  border-width: 1;\n"
         "}\n"
+        "\n"
         ".frame {\n"
         "  border-style: inset;\n"
         "  border-width: 1;\n"



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