Make GtkHSV use GtkStyleContext

two custom classes replace the light/dark focus detail strings,
it doesn't make much sense to have a GTK_STYLE_CLASS_* for that.
This commit is contained in:
Carlos Garnacho
2011-01-10 02:37:26 +01:00
parent 27c5cc88f8
commit 2f6514ce34
2 changed files with 42 additions and 21 deletions

View File

@ -3837,6 +3837,14 @@ gtk_css_provider_get_default (void)
" background-color: @selected_bg_color;\n"
" color: @selected_fg_color;\n"
"}\n"
"\n"
".light-area-focus {\n"
" color: #000;\n"
"}\n"
"\n"
".dark-area-focus {\n"
" color: #fff;\n"
"}\n"
"\n";
provider = gtk_css_provider_new ();