Commit d19d603a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

special case percentage < 0 and pulse progress.

2005-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (progress_update): special case
	percentage < 0 and pulse progress.
parent 02b4ab2d
2005-05-03 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (progress_update): special case
percentage < 0 and pulse progress.
2005-04-30 Sven Neumann <sven@gimp.org> 2005-04-30 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that * plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
......
...@@ -568,6 +568,9 @@ def _interact(func_name, start_params): ...@@ -568,6 +568,9 @@ def _interact(func_name, start_params):
progress.set_text(" ") progress.set_text(" ")
if fraction is not None: if fraction is not None:
if fraction < 0:
progress.pulse()
else:
progress.set_fraction(fraction) progress.set_fraction(fraction)
while gtk.events_pending(): while gtk.events_pending():
......
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