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



commit 53ac81fb5b9d7f2a0f56e978b943921a14f93113
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 a443e06..4f6fe86 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]