diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2012-07-05 16:02:35 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2012-07-05 16:02:35 +0000 |
| commit | efc8e7afbe87bd4577d94ab1055b410fd2524e53 (patch) | |
| tree | e8730df1d26b0e0dc8d99b7775bd3216531c985f | |
| parent | Fix for bug #1001446 (export bitmap hotkey) (diff) | |
| download | inkscape-efc8e7afbe87bd4577d94ab1055b410fd2524e53.tar.gz inkscape-efc8e7afbe87bd4577d94ab1055b410fd2524e53.zip | |
Patch for bug #728081 (Keyboard shortcut - Lock current layer).
(bzr r11528)
| -rw-r--r-- | share/keys/default.xml | 3 | ||||
| -rw-r--r-- | share/keys/inkscape.xml | 3 | ||||
| -rw-r--r-- | src/menus-skeleton.h | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/share/keys/default.xml b/share/keys/default.xml index a888c1e2f..3b1138555 100644 --- a/share/keys/default.xml +++ b/share/keys/default.xml @@ -527,6 +527,9 @@ override) the bindings in the main default.xml. <bind key="l" modifiers="Ctrl,Shift" action="DialogLayers" display="true" /> <bind key="L" modifiers="Ctrl,Shift" action="DialogLayers" /> + <bind action="LayerToggleHide" /> + <bind action="LayerToggleLock" /> + <!-- Dialogs --> <bind key="x" modifiers="Ctrl,Shift" action="DialogXMLEditor" display="true" /> diff --git a/share/keys/inkscape.xml b/share/keys/inkscape.xml index 972707f4f..8272fc785 100644 --- a/share/keys/inkscape.xml +++ b/share/keys/inkscape.xml @@ -524,6 +524,9 @@ override) the bindings in the main default.xml. <bind key="l" modifiers="Ctrl,Shift" action="DialogLayers" display="true" /> <bind key="L" modifiers="Ctrl,Shift" action="DialogLayers" /> + <bind action="LayerToggleHide" /> + <bind action="LayerToggleLock" /> + <!-- Dialogs --> <bind key="x" modifiers="Ctrl,Shift" action="DialogXMLEditor" display="true" /> diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h index 0ee4053fe..af6e8034d 100644 --- a/src/menus-skeleton.h +++ b/src/menus-skeleton.h @@ -156,9 +156,11 @@ static char const menus_skeleton[] = " </submenu>\n" " <submenu name=\"" N_("_Layer") "\">\n" " <verb verb-id=\"LayerNew\" />\n" -" <verb verb-id=\"LayerDuplicate\" />\n" " <verb verb-id=\"LayerRename\" />\n" " <separator/>\n" +" <verb verb-id=\"LayerToggleHide\" />\n" +" <verb verb-id=\"LayerToggleLock\" />\n" +" <separator/>\n" " <verb verb-id=\"LayerNext\" />\n" " <verb verb-id=\"LayerPrev\" />\n" " <separator/>\n" @@ -170,6 +172,7 @@ static char const menus_skeleton[] = " <verb verb-id=\"LayerToTop\" />\n" " <verb verb-id=\"LayerToBottom\" />\n" " <separator/>\n" +" <verb verb-id=\"LayerDuplicate\" />\n" " <verb verb-id=\"LayerDelete\" />\n" " <separator/>\n" " <verb verb-id=\"DialogLayers\" />\n" |
