mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-19 22:34:37 +00:00
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:
parent
aca88b7cc9
commit
8735ca9d18
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue