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:
parent
b9b62fca0c
commit
e7bb83988f
@ -1226,7 +1226,10 @@ tick_cb (GtkWidget *widget,
|
|||||||
priv->last_iteration = iteration;
|
priv->last_iteration = iteration;
|
||||||
|
|
||||||
if (current_iterations > 3 * pulse_iterations)
|
if (current_iterations > 3 * pulse_iterations)
|
||||||
return G_SOURCE_CONTINUE;
|
{
|
||||||
|
priv->pulse1 = 0;
|
||||||
|
return G_SOURCE_CONTINUE;
|
||||||
|
}
|
||||||
|
|
||||||
/* advance the block */
|
/* advance the block */
|
||||||
if (priv->activity_dir == 0)
|
if (priv->activity_dir == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user