From fdc55c5ceea99a8a21d5b848a039a534b6bfbd77 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 12 Jun 2008 19:24:27 +0000 Subject: [PATCH] try to make the display of the aspect ratio somewhat more obvious. 2008-06-12 Sven Neumann * 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 --- ChangeLog | 5 +++++ app/tools/gimprectangletool.c | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ca8487a4a..2965596ef2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-12 Sven Neumann + + * 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 * app/plug-in/plug-in-menu-path.c (menu_path_mappings): also map diff --git a/app/tools/gimprectangletool.c b/app/tools/gimprectangletool.c index 244f2ba625..2e666de8b2 100644 --- a/app/tools/gimprectangletool.c +++ b/app/tools/gimprectangletool.c @@ -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); } }