[gtk+/gtk-style-context: 443/540] GtkCssProvider: use selected fg/bg for selected menu items in CSS.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 443/540] GtkCssProvider: use selected fg/bg for selected menu items in CSS.
- Date: Fri, 3 Dec 2010 03:13:21 +0000 (UTC)
commit 064128a30ae5171ce36af128f302bced189fb52e
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Nov 22 21:43:44 2010 +0100
GtkCssProvider: use selected fg/bg for selected menu items in CSS.
gtk/gtkcssprovider.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 0b8036e..0097d9d 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3559,6 +3559,12 @@ gtk_css_provider_get_default (void)
" border-style: outset;\n"
" border-width: 1;\n"
"}\n"
+ "\n"
+ ".menu:hover,\n"
+ ".menubar:hover {\n"
+ " background-color: @selected_bg_color;\n"
+ " color: @selected_fg_color;\n"
+ "}\n"
"\n";
provider = gtk_css_provider_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]