From: speare Date: Sat, 7 Mar 2009 17:43:46 +0000 (+0000) Subject: some keyboards (Apple) have no Insert; allow insert-node with Shift+I too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d98368c2cc00f81581e2ac302913c685af70d610;p=inkscape.git some keyboards (Apple) have no Insert; allow insert-node with Shift+I too --- 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: