[gtk+/gtk-style-context: 395/540] Add an outline around menu popups
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 395/540] Add an outline around menu popups
- Date: Fri, 3 Dec 2010 03:09:20 +0000 (UTC)
commit 6291a9fc6e50164ff38f89200458c839b4f0eff4
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 7af8291..db756fb 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]