mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
Update the selection when Rounded corners is toggled or the radius is
2007-10-30 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_round_corners_notify): Update the selection when Rounded corners is toggled or the radius is changed as discussed in bug #418284. svn path=/trunk/; revision=23991
This commit is contained in:
parent
b515881bdd
commit
1c8d6bb8ce
|
@ -1,3 +1,10 @@
|
|||
2007-10-30 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangleselecttool.c
|
||||
(gimp_rect_select_tool_round_corners_notify): Update the selection
|
||||
when Rounded corners is toggled or the radius is changed as
|
||||
discussed in bug #418284.
|
||||
|
||||
2007-10-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* modules/cdisplay_lcms.c: applied patch from Sven Neumann and
|
||||
|
|
|
@ -811,10 +811,15 @@ gimp_rect_select_tool_round_corners_notify (GimpRectSelectOptions *options,
|
|||
GParamSpec *pspec,
|
||||
GimpRectSelectTool *rect_sel)
|
||||
{
|
||||
gimp_draw_tool_pause (GIMP_DRAW_TOOL (rect_sel));
|
||||
GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (rect_sel);
|
||||
GimpRectangleTool *rect_tool = GIMP_RECTANGLE_TOOL (rect_sel);
|
||||
|
||||
gimp_draw_tool_pause (draw_tool);
|
||||
|
||||
rect_sel->round_corners = options->round_corners;
|
||||
rect_sel->corner_radius = options->corner_radius;
|
||||
|
||||
gimp_draw_tool_resume (GIMP_DRAW_TOOL (rect_sel));
|
||||
gimp_rect_select_tool_rectangle_changed (rect_tool);
|
||||
|
||||
gimp_draw_tool_resume (draw_tool);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue