From d98368c2cc00f81581e2ac302913c685af70d610 Mon Sep 17 00:00:00 2001 From: speare Date: Sat, 7 Mar 2009 17:43:46 +0000 Subject: [PATCH] some keyboards (Apple) have no Insert; allow insert-node with Shift+I too --- src/node-context.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/node-context.cpp b/src/node-context.cpp index 33b4a53e0..57af59bd4 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -484,6 +484,14 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) se->add_node(); ret = TRUE; break; + case GDK_I: + case GDK_i: + // apple keyboards have no Insert + if (MOD__SHIFT_ONLY) { + se->add_node(); + ret = TRUE; + } + break; case GDK_Delete: case GDK_KP_Delete: case GDK_BackSpace: -- 2.30.2