mirror of https://github.com/GNOME/gimp.git
try to make the display of the aspect ratio somewhat more obvious.
2008-06-12 Sven Neumann <sven@gimp.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_motion): try to make the display of the aspect ratio somewhat more obvious. svn path=/trunk/; revision=25937
This commit is contained in:
parent
bde0eed72c
commit
fdc55c5cee
|
@ -1,3 +1,8 @@
|
|||
2008-06-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
|
||||
try to make the display of the aspect ratio somewhat more obvious.
|
||||
|
||||
2008-06-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/plug-in/plug-in-menu-path.c (menu_path_mappings): also map
|
||||
|
|
|
@ -1077,12 +1077,11 @@ gimp_rectangle_tool_motion (GimpTool *tool,
|
|||
{
|
||||
gchar *aspect_text;
|
||||
|
||||
aspect_text = g_strdup_printf (" %.2f",
|
||||
w / (gdouble) h);
|
||||
aspect_text = g_strdup_printf (" (1:%.2f)", w / (gdouble) h);
|
||||
|
||||
gimp_tool_push_status_coords (tool, display,
|
||||
_("Rectangle: "), w, " × ", h, aspect_text);
|
||||
|
||||
_("Rectangle: "),
|
||||
w, " × ", h, aspect_text);
|
||||
g_free (aspect_text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue