Call gimp_rectangle_tool_rectangle_changed after 'Auto shrink selection',

2007-09-06  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_auto_shrink):
	Call gimp_rectangle_tool_rectangle_changed after 'Auto shrink
	selection', and recalculate handle sizes. Fixes bug #474344.

svn path=/trunk/; revision=23471
This commit is contained in:
Martin Nordholts
2007-09-06 20:38:11 +00:00
committed by Martin Nordholts
parent c3ec9e82e9
commit dd7fa05cdc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-09-06 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_auto_shrink):
Call gimp_rectangle_tool_rectangle_changed and recalculate handle
sizes after 'Auto shrink selection'. Fixes bug #474344.
2007-09-06 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/contactsheet.scm: Preserve aspect ratio

View File

@ -2308,6 +2308,9 @@ gimp_rectangle_tool_auto_shrink (GimpRectangleTool *rectangle)
"y2", offset_y + shrunk_y2,
NULL);
gimp_rectangle_tool_rectangle_changed (rectangle);
gimp_rectangle_tool_update_handle_sizes (rectangle);
gimp_rectangle_tool_update_highlight (rectangle);
gimp_draw_tool_resume (GIMP_DRAW_TOOL (rectangle));