Commit 941310a3 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

Bug 550983 – The size displayed in the status bar isn't correct

2008-09-05  Michael Natterer  <mitch@gimp.org>

	Bug 550983 – The size displayed in the status bar isn't correct

	* app/tools/gimprectangletool.c: use the right precision when
	pushing the rectangle's size as coordinates to the statusbar.


svn path=/trunk/; revision=26872
parent 60b78c95
2008-09-05 Michael Natterer <mitch@gimp.org>
Bug 550983 – The size displayed in the status bar isn't correct
* app/tools/gimprectangletool.c: use the right precision when
pushing the rectangle's size as coordinates to the statusbar.
2008-09-05 Michael Natterer <mitch@gimp.org>
* app/widgets/Makefile.am
......
......@@ -1080,7 +1080,7 @@ gimp_rectangle_tool_motion (GimpTool *tool,
aspect_text = g_strdup_printf (" (%.2f:1)", w / (gdouble) h);
gimp_tool_push_status_coords (tool, display,
GIMP_CURSOR_PRECISION_PIXEL_CENTER,
GIMP_CURSOR_PRECISION_PIXEL_BORDER,
_("Rectangle: "),
w, " × ", h, aspect_text);
g_free (aspect_text);
......@@ -1976,7 +1976,7 @@ gimp_rectangle_tool_start (GimpRectangleTool *rect_tool,
/* initialize the statusbar display */
gimp_tool_push_status_coords (tool, tool->display,
GIMP_CURSOR_PRECISION_PIXEL_CENTER,
GIMP_CURSOR_PRECISION_PIXEL_BORDER,
_("Rectangle: "), 0, " × ", 0, NULL);
gimp_draw_tool_start (GIMP_DRAW_TOOL (tool), tool->display);
......
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