mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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.
This commit is contained in:
parent
02b4ab2d3e
commit
d19d603adb
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
|
||||
|
|
|
@ -568,7 +568,10 @@ def _interact(func_name, start_params):
|
|||
progress.set_text(" ")
|
||||
|
||||
if fraction is not None:
|
||||
progress.set_fraction(fraction)
|
||||
if fraction < 0:
|
||||
progress.pulse()
|
||||
else:
|
||||
progress.set_fraction(fraction)
|
||||
|
||||
while gtk.events_pending():
|
||||
gtk.main_iteration()
|
||||
|
|
Loading…
Reference in a new issue