gimp r28003 - in trunk: . app/tools
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28003 - in trunk: . app/tools
- Date: Sun, 8 Feb 2009 20:28:42 +0000 (UTC)
Author: mitch
Date: Sun Feb 8 20:28:41 2009
New Revision: 28003
URL: http://svn.gnome.org/viewvc/gimp?rev=28003&view=rev
Log:
2009-02-08 Michael Natterer <mitch gimp org>
* app/tools/gimpcurvestool.c (gimp_curves_tool_key_press): if the
curve view didn't handle the key press, chain up so the normal
GimpImageMapTool keys for reset/cancel/ok works.
Modified:
trunk/ChangeLog
trunk/app/tools/gimpcurvestool.c
Modified: trunk/app/tools/gimpcurvestool.c
==============================================================================
--- trunk/app/tools/gimpcurvestool.c (original)
+++ trunk/app/tools/gimpcurvestool.c Sun Feb 8 20:28:41 2009
@@ -299,7 +299,10 @@
{
GimpCurvesTool *c_tool = GIMP_CURVES_TOOL (tool);
- return gtk_widget_event (c_tool->graph, (GdkEvent *) kevent);
+ if (gtk_widget_event (c_tool->graph, (GdkEvent *) kevent))
+ return TRUE;
+
+ return GIMP_TOOL_CLASS (parent_class)->key_press (tool, kevent, display);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]