progressbar: Never stop never stopping

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

Without that code, pulsing the progressbar will stop doing anything
after 3 iterations.
This commit is contained in:
Benjamin Otte 2018-06-26 04:13:24 +02:00
parent b9b62fca0c
commit e7bb83988f

View File

@ -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)