[gimp] app: update GimpStatusbar message icon even when the text is unchanged



commit ce8cbe65406e1c53524103b189b5721c21f7eb17
Author: Ell <ell_se yahoo com>
Date:   Wed Apr 20 08:37:36 2016 +0000

    app: update GimpStatusbar message icon even when the text is unchanged
    
    Probably just academic.

 app/display/gimpstatusbar.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index a599a29..538ed97 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -1465,7 +1465,8 @@ gimp_statusbar_add_message (GimpStatusbar *statusbar,
           gboolean is_front_message = (list == statusbar->messages);
 
           if ((is_front_message || ! move_to_front) &&
-              strcmp (msg->text, message) == 0)
+              strcmp (msg->text, message) == 0      &&
+              g_strcmp0 (msg->icon_name, icon_name) == 0)
             {
               g_free (message);
               return;


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