app: blink the statusbar on warnings and errors

Statusbar messages are too easy to miss.  Blink the statusbar when
showing a warning or an error, to attract attention.
This commit is contained in:
Ell 2017-10-28 08:50:51 -04:00
parent e029795dfb
commit b2bc33bdf1
1 changed files with 3 additions and 0 deletions
app/display

View File

@ -1119,6 +1119,9 @@ gimp_statusbar_push_temp_valist (GimpStatusbar *statusbar,
statusbar->temp_context_id,
icon_name, format, args,
/* move_to_front = */ TRUE);
if (severity >= GIMP_MESSAGE_WARNING)
gimp_widget_blink (statusbar->label);
}
void