gimp r25607 - in trunk: . app/display app/tools



Author: neo
Date: Sat May 10 10:20:42 2008
New Revision: 25607
URL: http://svn.gnome.org/viewvc/gimp?rev=25607&view=rev

Log:
2008-05-10  Sven Neumann  <sven gimp org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events) 
(gimp_display_shell_canvas_tool_events):
	don't reserve Delete for use by tools. Fixes bug #532116.

	* app/tools/gimpimagemaptool.c
	* app/tools/gimptransformtool.c: don't use Delete (you can still
	use the Backspace key to achieve the same).



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-callbacks.c
   trunk/app/tools/gimpimagemaptool.c
   trunk/app/tools/gimptransformtool.c

Modified: trunk/app/display/gimpdisplayshell-callbacks.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-callbacks.c	(original)
+++ trunk/app/display/gimpdisplayshell-callbacks.c	Sat May 10 10:20:42 2008
@@ -174,7 +174,7 @@
           case GDK_Return:
           case GDK_KP_Enter:
           case GDK_ISO_Enter:
-          case GDK_BackSpace: case GDK_Delete:
+          case GDK_BackSpace:
             break;
 
           case GDK_Escape:
@@ -1258,7 +1258,6 @@
               case GDK_KP_Enter:
               case GDK_ISO_Enter:
               case GDK_BackSpace:
-              case GDK_Delete:
               case GDK_Escape:
               case GDK_Left:
               case GDK_Right:

Modified: trunk/app/tools/gimpimagemaptool.c
==============================================================================
--- trunk/app/tools/gimpimagemaptool.c	(original)
+++ trunk/app/tools/gimpimagemaptool.c	Sat May 10 10:20:42 2008
@@ -487,7 +487,6 @@
           gimp_image_map_tool_response (NULL, GTK_RESPONSE_OK, image_map_tool);
           return TRUE;
 
-        case GDK_Delete:
         case GDK_BackSpace:
           gimp_image_map_tool_response (NULL, RESPONSE_RESET, image_map_tool);
           return TRUE;

Modified: trunk/app/tools/gimptransformtool.c
==============================================================================
--- trunk/app/tools/gimptransformtool.c	(original)
+++ trunk/app/tools/gimptransformtool.c	Sat May 10 10:20:42 2008
@@ -516,7 +516,6 @@
           gimp_transform_tool_response (NULL, GTK_RESPONSE_OK, trans_tool);
           return TRUE;
 
-        case GDK_Delete:
         case GDK_BackSpace:
           gimp_transform_tool_response (NULL, RESPONSE_RESET, trans_tool);
           return TRUE;



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