[gimp/soc-2012-unified-transformation: 8/39] transformtool: Remove shift-clicking to accept transform since shift is used as a modifier



commit 5120e298adbaa95bd79d586470af831fc84ad09a
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Thu Jun 14 07:32:36 2012 +0200

    transformtool: Remove shift-clicking to accept transform since shift is used as a modifier

 app/tools/gimptransformtool.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c
index 509fbab..7ddc29d 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -392,12 +392,6 @@ gimp_transform_tool_button_release (GimpTool              *tool,
 
   if (release_type != GIMP_BUTTON_RELEASE_CANCEL)
     {
-      /* Shift-clicking is another way to approve the transform  */
-      if ((state & GDK_SHIFT_MASK) || ! tr_tool->use_grid)
-        {
-          gimp_transform_tool_response (NULL, GTK_RESPONSE_OK, tr_tool);
-        }
-
       /* We're done with an interaction, save it on the undo list */
       gimp_transform_tool_push_internal_undo (tr_tool);
     }



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