Commit 26b9e7a3 authored by Michael Natterer's avatar Michael Natterer 😴

app: set better status title strings in crop, text, rectangle select

parent 2aff5b0a
......@@ -354,6 +354,10 @@ gimp_crop_tool_start (GimpCropTool *crop_tool,
crop_tool->widget = widget = gimp_tool_rectangle_new (shell);
g_object_set (widget,
"status-title", _("Crop to: "),
NULL);
gimp_draw_tool_set_widget (GIMP_DRAW_TOOL (tool), widget);
for (i = 0; i < G_N_ELEMENTS (properties); i++)
......
......@@ -663,6 +663,7 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
GimpDisplayShell *shell = gimp_display_get_shell (display);
GimpRectangleSelectOptions *options;
GimpToolWidget *widget;
gboolean draw_ellipse;
gint i;
options = GIMP_RECTANGLE_SELECT_TOOL_GET_OPTIONS (rect_tool);
......@@ -671,9 +672,11 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
private->widget = widget = gimp_tool_rectangle_new (shell);
draw_ellipse = GIMP_RECTANGLE_SELECT_TOOL_GET_CLASS (rect_tool)->draw_ellipse;
g_object_set (widget,
"draw-ellipse",
GIMP_RECTANGLE_SELECT_TOOL_GET_CLASS (rect_tool)->draw_ellipse,
"draw-ellipse", draw_ellipse,
"status-title", draw_ellipse ? _("Ellipse: ") : _("Rectangle :"),
NULL);
gimp_draw_tool_set_widget (GIMP_DRAW_TOOL (tool), widget);
......
......@@ -948,6 +948,7 @@ gimp_text_tool_start (GimpTextTool *text_tool,
g_object_set (widget,
"force-narrow-mode", TRUE,
"status-title", _("Text box: "),
NULL);
gimp_draw_tool_set_widget (GIMP_DRAW_TOOL (tool), widget);
......
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