[gimp] app: blink the statusbar on warnings and errors



commit b2bc33bdf1ef064a3691b768eade2e31247b80e1
Author: Ell <ell_se yahoo com>
Date:   Sat Oct 28 08:50:51 2017 -0400

    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.

 app/display/gimpstatusbar.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index d15cdea..f63140f 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]