Commit f6f0b878 authored by Jonathan Matthew's avatar Jonathan Matthew 🥗
Browse files

header: set no-show-all on the song position slider

Fixes: #1787
parent 582fa1db
...@@ -301,6 +301,7 @@ rb_header_constructed (GObject *object) ...@@ -301,6 +301,7 @@ rb_header_constructed (GObject *object)
/* set up position slider */ /* set up position slider */
header->priv->adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 10.0, 1.0, 10.0, 0.0)); header->priv->adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 10.0, 1.0, 10.0, 0.0));
header->priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, header->priv->adjustment); header->priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, header->priv->adjustment);
gtk_widget_set_no_show_all (header->priv->scale, TRUE);
gtk_range_set_fill_level (GTK_RANGE (header->priv->scale), 0.0); gtk_range_set_fill_level (GTK_RANGE (header->priv->scale), 0.0);
gtk_range_set_show_fill_level (GTK_RANGE (header->priv->scale), FALSE); gtk_range_set_show_fill_level (GTK_RANGE (header->priv->scale), FALSE);
gtk_range_set_restrict_to_fill_level (GTK_RANGE (header->priv->scale), FALSE); gtk_range_set_restrict_to_fill_level (GTK_RANGE (header->priv->scale), FALSE);
......
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