gimp r26872 - in trunk: . app/tools



Author: mitch
Date: Fri Sep  5 12:15:24 2008
New Revision: 26872
URL: http://svn.gnome.org/viewvc/gimp?rev=26872&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimprectangletool.c

Modified: trunk/app/tools/gimprectangletool.c
==============================================================================
--- trunk/app/tools/gimprectangletool.c	(original)
+++ trunk/app/tools/gimprectangletool.c	Fri Sep  5 12:15:24 2008
@@ -1080,7 +1080,7 @@
           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 @@
 
   /* 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]