Commit 79207bd3 authored by Michael Natterer's avatar Michael Natterer 😴

app: restore the crop tool's "Click or press Enter to crop" status message

it probably got lost when improving GimpToolRectangle's messages.
Also add a default idle status message "Click-Drag to draw a crop
rectangle".
parent e8c63823
......@@ -145,6 +145,9 @@ gimp_crop_tool_init (GimpCropTool *crop_tool)
GIMP_CURSOR_PRECISION_PIXEL_BORDER);
gimp_tool_control_set_cursor (tool->control, GIMP_CURSOR_CROSSHAIR_SMALL);
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_CROP);
gimp_draw_tool_set_default_status (GIMP_DRAW_TOOL (tool),
_("Click-Drag to draw a crop rectangle"));
}
static void
......@@ -246,14 +249,14 @@ gimp_crop_tool_button_release (GimpTool *tool,
gimp_tool_control_halt (tool->control);
gimp_tool_push_status (tool, display, _("Click or press Enter to crop"));
if (crop_tool->grab_widget)
{
gimp_tool_widget_button_release (crop_tool->grab_widget,
coords, time, state, release_type);
crop_tool->grab_widget = NULL;
}
gimp_tool_push_status (tool, display, _("Click or press Enter to crop"));
}
static void
......
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