From 0c9918f367814af64558faeb70c27429d3dadf9a Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 4 May 2007 07:33:59 +0000 Subject: [PATCH] reverted last change, the behavior is different. 2007-05-04 Sven Neumann * app/display/gimpstatusbar.c (gimp_statusbar_progress_message): reverted last change, the behavior is different. svn path=/trunk/; revision=22399 --- ChangeLog | 5 +++++ app/display/gimpstatusbar.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 364a80e187..0fb207773c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-04 Sven Neumann + + * app/display/gimpstatusbar.c (gimp_statusbar_progress_message): + reverted last change, the behavior is different. + 2007-05-04 Sven Neumann * app/display/gimpstatusbar.c (gimp_statusbar_progress_message): diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c index 06f82ed78e..b998f0cd6d 100644 --- a/app/display/gimpstatusbar.c +++ b/app/display/gimpstatusbar.c @@ -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);