Commit ef8dabcc authored by Sven Neumann's avatar Sven Neumann

tools: improve status-bar hints for the Curves tool

parent 57066577
......@@ -312,8 +312,8 @@ gimp_curves_tool_oper_update (GimpTool *tool,
gboolean proximity,
GimpDisplay *display)
{
GimpColorPickMode mode = GIMP_COLOR_PICK_MODE_NONE;
const gchar *status = NULL;
GimpColorPickMode mode;
const gchar *status;
GIMP_TOOL_CLASS (parent_class)->oper_update (tool, coords, state, proximity,
display);
......@@ -330,10 +330,15 @@ gimp_curves_tool_oper_update (GimpTool *tool,
mode = GIMP_COLOR_PICK_MODE_PALETTE;
status = _("Click to add control points to all channels");
}
else
{
mode = GIMP_COLOR_PICK_MODE_NONE;
status = _("Click to locate on curve (try Shift, Ctrl)");
}
GIMP_COLOR_TOOL (tool)->pick_mode = mode;
if (status && proximity)
if (proximity)
gimp_tool_push_status (tool, display, "%s", status);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment