mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_button_press): if function is RECT_CREATING, start a new rectangle. * app/tools/gimpnewrectselecttool.c: remove g_printerr statement that mitch added for debugging.
This commit is contained in:
parent
d1a76d93f7
commit
7c90b66c36
|
@ -1,3 +1,11 @@
|
|||
2006-06-02 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/tools/gimprectangletool.c (gimp_rectangle_tool_button_press):
|
||||
if function is RECT_CREATING, start a new rectangle.
|
||||
|
||||
* app/tools/gimpnewrectselecttool.c: remove g_printerr statement that
|
||||
mitch added for debugging.
|
||||
|
||||
2006-06-02 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* cursors/Makefile.am
|
||||
|
|
|
@ -280,8 +280,6 @@ gimp_new_rect_select_tool_oper_update (GimpTool *tool,
|
|||
|
||||
g_object_get (tool, "function", &function, NULL);
|
||||
|
||||
g_printerr ("%s: function = %d\n", G_STRFUNC, function);
|
||||
|
||||
if (function == RECT_CREATING || function == RECT_EXECUTING)
|
||||
GIMP_SELECTION_TOOL (tool)->allow_move = TRUE;
|
||||
else
|
||||
|
|
|
@ -280,8 +280,6 @@ gimp_new_rect_select_tool_oper_update (GimpTool *tool,
|
|||
|
||||
g_object_get (tool, "function", &function, NULL);
|
||||
|
||||
g_printerr ("%s: function = %d\n", G_STRFUNC, function);
|
||||
|
||||
if (function == RECT_CREATING || function == RECT_EXECUTING)
|
||||
GIMP_SELECTION_TOOL (tool)->allow_move = TRUE;
|
||||
else
|
||||
|
|
|
@ -729,6 +729,7 @@ gimp_rectangle_tool_button_press (GimpTool *tool,
|
|||
{
|
||||
GimpRectangleTool *rectangle = GIMP_RECTANGLE_TOOL (tool);
|
||||
GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool);
|
||||
guint function;
|
||||
|
||||
g_return_if_fail (GIMP_IS_RECTANGLE_TOOL (tool));
|
||||
|
||||
|
@ -741,7 +742,11 @@ gimp_rectangle_tool_button_press (GimpTool *tool,
|
|||
gimp_tool_control_set_snap_offsets (tool->control, 0, 0, 0, 0);
|
||||
|
||||
tool->display = display;
|
||||
}
|
||||
|
||||
g_object_get (rectangle, "function", &function, NULL);
|
||||
if (function == RECT_CREATING)
|
||||
{
|
||||
g_object_set (rectangle,
|
||||
"x1", ROUND (coords->x),
|
||||
"y1", ROUND (coords->y),
|
||||
|
|
Loading…
Reference in New Issue