aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-28 14:03:39 +0000
committerThomas White <taw@bitwiz.org.uk>2011-12-28 14:03:39 +0000
commitf63c8dd67114d18eb2a6bf203b1a0c603517200d (patch)
tree941de13c5b2bb50a6a666ea7dbb5235a40fd3928
parent857202dc700218a67a27feae51e58a90a134ced9 (diff)
Pass enter key to tools
-rw-r--r--src/mainwindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 2955e20..0862e81 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -741,6 +741,10 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event,
p->editing_object = NULL;
break;
+ case GDK_KEY_Return :
+ p->cur_tool->im_commit(p->editing_object, "\n", p->cur_tool);
+ break;
+
case GDK_KEY_B :
case GDK_KEY_b :
if ( p->slideshow != NULL ) {