diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-11-24 01:25:58 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:40 +0100 |
commit | ebd8463007f044f8c01be7bbf9a9ef5a46729088 (patch) | |
tree | 46e6e782dcf1fcab22f321d62d17ae029a696159 /gtk/gtkcssprovider.c | |
parent | 90dd2eb42b41c8509070d0569146667e387fa090 (diff) | |
download | gtk+-ebd8463007f044f8c01be7bbf9a9ef5a46729088.tar.gz |
GtkCssProvider: Handle unfocused label selections in default CSS.
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r-- | gtk/gtkcssprovider.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index b50452cae6..c61532ef76 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 (); |