Commit e0aa35ca authored by Matthias Clasen's avatar Matthias Clasen

Update testlevelbar

This test needs some small updates after the recent changes
to levelbar styling.
parent 4faef484
......@@ -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;"
"}";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment