diff --git a/ChangeLog b/ChangeLog index 046223d15b..de157cab14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-10 Sven Neumann + + * app/display/gimpdisplayshell-progress.c + (gimp_display_shell_progress_message): swallow informational + messages if there aren't handled by the statusbar. + 2008-07-10 Sven Neumann * app/core/gimpdata.[ch]: renamed gimp_data_name_compare() to diff --git a/app/display/gimpdisplayshell-progress.c b/app/display/gimpdisplayshell-progress.c index 974b76b706..7ee2243053 100644 --- a/app/display/gimpdisplayshell-progress.c +++ b/app/display/gimpdisplayshell-progress.c @@ -144,12 +144,17 @@ gimp_display_shell_progress_message (GimpProgress *progress, /* warning messages go to the statusbar, if it's visible */ if (! gimp_statusbar_get_visible (GIMP_STATUSBAR (shell->statusbar))) break; - /* else fallthrough */ + else + return gimp_progress_message (GIMP_PROGRESS (shell->statusbar), gimp, + severity, domain, message); case GIMP_MESSAGE_INFO: - /* info messages go to the statusbar, no matter if it's visible or not */ - return gimp_progress_message (GIMP_PROGRESS (shell->statusbar), gimp, - severity, domain, message); + /* info messages go to the statusbar; + * if they are not handled there, they are swallowed + */ + gimp_progress_message (GIMP_PROGRESS (shell->statusbar), gimp, + severity, domain, message); + return TRUE; } return FALSE;