Make switching selection mode through modifier keys work again.
2008-06-23 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimpfreeselecttool.c (gimp_free_select_tool_modifier_key): Make switching selection mode through modifier keys work again. svn path=/trunk/; revision=25978
This commit is contained in:

committed by
Martin Nordholts

parent
ba7d6020da
commit
57e9c9943e
@ -1,3 +1,9 @@
|
|||||||
|
2008-06-23 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/tools/gimpfreeselecttool.c
|
||||||
|
(gimp_free_select_tool_modifier_key): Make switching selection
|
||||||
|
mode through modifier keys work again.
|
||||||
|
|
||||||
2008-06-22 Michael Natterer <mitch@gimp.org>
|
2008-06-22 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/widgets/Makefile.am
|
* app/widgets/Makefile.am
|
||||||
|
@ -1451,9 +1451,8 @@ gimp_free_select_tool_modifier_key (GimpTool *tool,
|
|||||||
GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool);
|
GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool);
|
||||||
Private *priv = GET_PRIVATE (tool);
|
Private *priv = GET_PRIVATE (tool);
|
||||||
|
|
||||||
if (tool->display != display)
|
if (tool->display == display)
|
||||||
return;
|
{
|
||||||
|
|
||||||
gimp_draw_tool_pause (draw_tool);
|
gimp_draw_tool_pause (draw_tool);
|
||||||
|
|
||||||
priv->constrain_angle = state & GDK_CONTROL_MASK ? TRUE : FALSE;
|
priv->constrain_angle = state & GDK_CONTROL_MASK ? TRUE : FALSE;
|
||||||
@ -1461,6 +1460,7 @@ gimp_free_select_tool_modifier_key (GimpTool *tool,
|
|||||||
priv->supress_handles = state & GDK_SHIFT_MASK ? TRUE : FALSE;
|
priv->supress_handles = state & GDK_SHIFT_MASK ? TRUE : FALSE;
|
||||||
|
|
||||||
gimp_draw_tool_resume (draw_tool);
|
gimp_draw_tool_resume (draw_tool);
|
||||||
|
}
|
||||||
|
|
||||||
GIMP_TOOL_CLASS (parent_class)->modifier_key (tool,
|
GIMP_TOOL_CLASS (parent_class)->modifier_key (tool,
|
||||||
key,
|
key,
|
||||||
|
Reference in New Issue
Block a user