while the statusbar is being used as a progress bar, only show progress

2007-03-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_update): while the
	statusbar is being used as a progress bar, only show progress
	messages.


svn path=/trunk/; revision=22096
This commit is contained in:
Sven Neumann
2007-03-10 22:07:42 +00:00
committed by Sven Neumann
parent 8fd67e0e95
commit 414eb93d72
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-03-10 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_update): while the
statusbar is being used as a progress bar, only show progress
messages.
2007-03-10 Sven Neumann <sven@gimp.org>
* app/plug-in/gimppluginprocedure.[ch]: cache the result of

View File

@ -417,6 +417,16 @@ gimp_statusbar_update (GimpStatusbar *statusbar)
{
GimpStatusbarMsg *msg = statusbar->messages->data;
/* only allow progress messages while the progress is active */
if (statusbar->progress_active)
{
guint context_id = gimp_statusbar_get_context_id (statusbar,
"progress");
if (context_id != msg->context_id)
return;
}
text = msg->text;
}