force an update of the progress bar (#97459, reported by Akkana).

2002-11-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpprogress.c (gimp_progress_update): force an update
	of the progress bar (#97459, reported by Akkana).
This commit is contained in:
Sven Neumann 2002-11-02 12:30:51 +00:00 committed by Sven Neumann
parent aca88b7cc9
commit 8735ca9d18
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-11-02 Sven Neumann <sven@gimp.org>
* app/display/gimpprogress.c (gimp_progress_update): force an update
of the progress bar (#97459, reported by Akkana).
2002-11-01 Michael Natterer <mitch@gimp.org>
* app/gui/file-open-dialog.[ch]: added "gimage" and "uri"

View file

@ -253,6 +253,10 @@ gimp_progress_update (GimpProgress *progress,
}
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (bar), percentage);
/* force updates so there's feedback even when the main loop is busy */
if (GTK_WIDGET_DRAWABLE (bar))
gdk_window_process_updates (bar->window, TRUE);
}