summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-05-23 20:48:47 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-05-23 20:48:47 +0000
commitde37ea2c3d4a1c857186dda0b113da04cd2bd79b (patch)
tree4b52381825a1d0efcbe4cada1c4bf61ade04b6a1 /src/verbs.cpp
parentcmake/MSYS2: Include libyaml for xverb feature (diff)
parentselection chemistry: cancel if we hit top/bottom (diff)
downloadinkscape-de37ea2c3d4a1c857186dda0b113da04cd2bd79b.tar.gz
inkscape-de37ea2c3d4a1c857186dda0b113da04cd2bd79b.zip
merge chr[] branch : Objects panel improvements, mem leaks.
(bzr r15700)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index b7b6da340..22ded60b3 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1179,6 +1179,12 @@ void SelectionVerb::perform(SPAction *action, void *data)
case SP_VERB_SELECTION_LOWER:
selection->lower();
break;
+ case SP_VERB_SELECTION_STACK_UP:
+ selection->stackUp();
+ break;
+ case SP_VERB_SELECTION_STACK_DOWN:
+ selection->stackDown();
+ break;
case SP_VERB_SELECTION_GROUP:
selection->group();
break;
@@ -2685,6 +2691,14 @@ Verb *Verb::_base_verbs[] = {
N_("Raise selection one step"), INKSCAPE_ICON("selection-raise")),
new SelectionVerb(SP_VERB_SELECTION_LOWER, "SelectionLower", N_("_Lower"),
N_("Lower selection one step"), INKSCAPE_ICON("selection-lower")),
+
+
+ new SelectionVerb(SP_VERB_SELECTION_STACK_UP, "SelectionStackUp", N_("_Stack up"),
+ N_("Stack selection one step up"), INKSCAPE_ICON("layer-raise")),
+ new SelectionVerb(SP_VERB_SELECTION_STACK_DOWN, "SelectionStackDown", N_("_Stack down"),
+ N_("Stack selection one step down"), INKSCAPE_ICON("layer-lower")),
+
+
new SelectionVerb(SP_VERB_SELECTION_GROUP, "SelectionGroup", N_("_Group"),
N_("Group selected objects"), INKSCAPE_ICON("object-group")),
new SelectionVerb(SP_VERB_SELECTION_UNGROUP, "SelectionUnGroup", N_("_Ungroup"),