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