Update testlevelbar

This test needs some small updates after the recent changes
to levelbar styling.
This commit is contained in:
Matthias Clasen 2015-11-13 06:40:28 -05:00
parent 4faef48410
commit e0aa35ca58

View File

@ -15,6 +15,9 @@ create_level_bar (void)
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
GTK_LEVEL_BAR_OFFSET_HIGH, 9.0);
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
"full", 10.0);
gtk_level_bar_add_offset_value (GTK_LEVEL_BAR (bar),
"my-offset", 5.0);
@ -26,12 +29,7 @@ add_custom_css (void)
{
GtkCssProvider *provider;
const gchar data[] =
"levelbar.fill-block.empty-fill-block {"
" background-color: transparent;"
" background-image: none;"
" border-color: alpha(@theme_fg_color, 0.1);"
"}"
"levelbar.fill-block.level-my-offset {"
"levelbar block.my-offset {"
" background: magenta;"
"}";