reverted last change, the behavior is different.

2007-05-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_progress_message):
	reverted last change, the behavior is different.


svn path=/trunk/; revision=22399
This commit is contained in:
Sven Neumann 2007-05-04 07:33:59 +00:00 committed by Sven Neumann
parent 1f4a8ad1a6
commit 0c9918f367
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-05-04 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_progress_message):
reverted last change, the behavior is different.
2007-05-04 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_progress_message):

View File

@ -390,6 +390,10 @@ gimp_statusbar_progress_message (GimpProgress *progress,
{
GimpStatusbar *statusbar = GIMP_STATUSBAR (progress);
/* we can handle only one-liners */
if (strchr (message, '\n'))
return FALSE;
gimp_statusbar_push_temp (statusbar,
gimp_get_message_stock_id (severity),
"%s", message);