From de1ed0a3795ecb6811f2e15edaef6f8b910843dd Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 4 Jun 2004 17:51:32 +0000 Subject: [PATCH] allow to move a text layer using the cursor keys. 2004-06-04 Sven Neumann * app/tools/gimptexttool.c (gimp_text_tool_class_init): allow to move a text layer using the cursor keys. --- ChangeLog | 5 +++++ app/tools/gimptexttool.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index e1b7715a89..aae109ee5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-04 Sven Neumann + + * app/tools/gimptexttool.c (gimp_text_tool_class_init): allow to + move a text layer using the cursor keys. + 2004-06-04 Michael Natterer * cursors/*.xbm: removed... diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c index 67cc694101..4c196308a6 100644 --- a/app/tools/gimptexttool.c +++ b/app/tools/gimptexttool.c @@ -58,6 +58,7 @@ #include "display/gimpdisplay.h" +#include "gimpeditselectiontool.h" #include "gimptextoptions.h" #include "gimptexttool.h" #include "gimptoolcontrol.h" @@ -191,6 +192,7 @@ gimp_text_tool_class_init (GimpTextToolClass *klass) tool_class->control = gimp_text_tool_control; tool_class->button_press = gimp_text_tool_button_press; + tool_class->arrow_key = gimp_edit_selection_tool_arrow_key; tool_class->cursor_update = gimp_text_tool_cursor_update; }