[gtk+] GtkCssProvider: Handle unfocused label selections in default CSS.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkCssProvider: Handle unfocused label selections in default CSS.
- Date: Sat, 4 Dec 2010 15:22:20 +0000 (UTC)
commit ebd8463007f044f8c01be7bbf9a9ef5a46729088
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 24 01:25:58 2010 +0100
GtkCssProvider: Handle unfocused label selections in default CSS.
gtk/gtkcssprovider.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index b50452c..c61532e 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3622,6 +3622,16 @@ gtk_css_provider_get_default (void)
" background-color: shade (@bg_color, 0.9);\n"
" border-color: shade (@bg_color, 0.7);\n"
"}\n"
+ "\n"
+ "GtkLabel:selected {\n"
+ " background-color: shade (@bg_color, 0.9);\n"
+ " color: @fg_color;\n"
+ "}\n"
+ "\n"
+ "GtkLabel:selected:focused {\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]