Commit e7bb8398 authored by Benjamin Otte's avatar Benjamin Otte

progressbar: Never stop never stopping

Reinstate code that was accidentally deleted during the port to
GtkProgressTracker in commit d57ebe2d.

Without that code, pulsing the progressbar will stop doing anything
after 3 iterations.
parent b9b62fca
Pipeline #17222 passed with stage
in 7 minutes and 55 seconds
......@@ -1226,7 +1226,10 @@ tick_cb (GtkWidget *widget,
priv->last_iteration = iteration;
if (current_iterations > 3 * pulse_iterations)
return G_SOURCE_CONTINUE;
{
priv->pulse1 = 0;
return G_SOURCE_CONTINUE;
}
/* advance the block */
if (priv->activity_dir == 0)
......
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