summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-09-22 12:14:14 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-09-22 12:14:14 +0000
commit3f61bc675d5f2f0c92d7906b8552b09df3cd411f (patch)
treea8fdb8a10dd8d071c703d2cb7e1984a528001ea3 /src/verbs.cpp
parentFix for 367548 : Invert doesnt work on objects with gradients (diff)
downloadinkscape-3f61bc675d5f2f0c92d7906b8552b09df3cd411f.tar.gz
inkscape-3f61bc675d5f2f0c92d7906b8552b09df3cd411f.zip
Fix for 172222 : Move direct to specified layer
(bzr r11695)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index d02472383..edfc45f8e 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1190,6 +1190,10 @@ void LayerVerb::perform(SPAction *action, void *data)
sp_selection_to_prev_layer(dt);
break;
}
+ case SP_VERB_LAYER_MOVE_TO: {
+ Inkscape::UI::Dialogs::LayerPropertiesDialog::showMove(dt, dt->currentLayer());
+ break;
+ }
case SP_VERB_LAYER_TO_TOP:
case SP_VERB_LAYER_TO_BOTTOM:
case SP_VERB_LAYER_RAISE:
@@ -2465,6 +2469,8 @@ Verb *Verb::_base_verbs[] = {
N_("Move selection to the layer above the current"), INKSCAPE_ICON("selection-move-to-layer-above")),
new LayerVerb(SP_VERB_LAYER_MOVE_TO_PREV, "LayerMoveToPrev", N_("Move Selection to Layer Bel_ow"),
N_("Move selection to the layer below the current"), INKSCAPE_ICON("selection-move-to-layer-below")),
+ new LayerVerb(SP_VERB_LAYER_MOVE_TO, "LayerMoveTo", N_("Move Selection to Layer..."),
+ N_("Move selection to layer"), INKSCAPE_ICON("layer-rename")),
new LayerVerb(SP_VERB_LAYER_TO_TOP, "LayerToTop", N_("Layer to _Top"),
N_("Raise the current layer to the top"), INKSCAPE_ICON("layer-top")),
new LayerVerb(SP_VERB_LAYER_TO_BOTTOM, "LayerToBottom", N_("Layer to _Bottom"),