don't reserve Delete for use by tools. Fixes bug #532116.

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).


svn path=/trunk/; revision=25607
This commit is contained in:
Sven Neumann 2008-05-10 10:20:42 +00:00 committed by Sven Neumann
parent 00cd61d43e
commit 9b7a46311f
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,13 @@
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).
2008-05-10 Manish Singh <yosh@gimp.org>
* plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the

View File

@ -174,7 +174,7 @@ gimp_display_shell_events (GtkWidget *widget,
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 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
case GDK_KP_Enter:
case GDK_ISO_Enter:
case GDK_BackSpace:
case GDK_Delete:
case GDK_Escape:
case GDK_Left:
case GDK_Right:

View File

@ -487,7 +487,6 @@ gimp_image_map_tool_key_press (GimpTool *tool,
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;

View File

@ -516,7 +516,6 @@ gimp_transform_tool_key_press (GimpTool *tool,
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;