[gimp/gimp-2-10] app: in GimpToolPath, use gimp_tool_message() instead of _set_status() ...



commit 8477c3d3cdf563fa4a213a813d19d0585d5e1187
Author: Ell <ell_se yahoo com>
Date:   Sun Jan 13 03:39:00 2019 -0500

    app: in GimpToolPath, use gimp_tool_message() instead of _set_status() ...
    
    ... when trying to edit a locked path.
    
    (cherry picked from commit a9883e98e384be1648d1575ba0b0506196d11565)

 app/display/gimptoolpath.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimptoolpath.c b/app/display/gimptoolpath.c
index 276057c601..9e2cf543ee 100644
--- a/app/display/gimptoolpath.c
+++ b/app/display/gimptoolpath.c
@@ -500,8 +500,8 @@ gimp_tool_path_check_writable (GimpToolPath *path)
   if (gimp_item_is_content_locked (GIMP_ITEM (private->vectors)) ||
       gimp_item_is_position_locked (GIMP_ITEM (private->vectors)))
     {
-      gimp_tool_widget_set_status (GIMP_TOOL_WIDGET (path),
-                                   _("The active path is locked."));
+      gimp_tool_widget_message_literal (GIMP_TOOL_WIDGET (path),
+                                        _("The active path is locked."));
 
       /* FIXME: this should really be done by the tool */
       gimp_tools_blink_lock_box (shell->display->gimp,


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