diff options
| author | Ed Halley <ed@halley.cc> | 2009-03-07 17:43:46 +0000 |
|---|---|---|
| committer | speare <speare@users.sourceforge.net> | 2009-03-07 17:43:46 +0000 |
| commit | 86dd14ed217b5670bc2e347c0be3020d5de623aa (patch) | |
| tree | 2c27366f637469be69f205d1d583068dcc9c5659 /src/node-context.cpp | |
| parent | Moving dnd data generation into the generic ColorDef class. (diff) | |
| download | inkscape-86dd14ed217b5670bc2e347c0be3020d5de623aa.tar.gz inkscape-86dd14ed217b5670bc2e347c0be3020d5de623aa.zip | |
some keyboards (Apple) have no Insert; allow insert-node with Shift+I too
(bzr r7434)
Diffstat (limited to 'src/node-context.cpp')
| -rw-r--r-- | src/node-context.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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: |
