diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-11-06 22:07:52 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-11-06 22:07:52 +0000 |
| commit | 9fa25f65a98bbd4abd3673b968ed5252cf9f14b3 (patch) | |
| tree | 8d7a8bb5db62bce3ed50563f2c44dd6fcb83e512 /src/verbs.cpp | |
| parent | Fix some bugs on pen/cil dropdown shapes (diff) | |
| parent | Fix selection issue with ObjectSet::unlinkRecursive() and add tests for it. (diff) | |
| download | inkscape-9fa25f65a98bbd4abd3673b968ed5252cf9f14b3.tar.gz inkscape-9fa25f65a98bbd4abd3673b968ed5252cf9f14b3.zip | |
merge recursive unlink clones branch
(bzr r15220)
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index c2167f67c..a5426f324 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1009,6 +1009,9 @@ void EditVerb::perform(SPAction *action, void *data) case SP_VERB_EDIT_UNLINK_CLONE: dt->selection->unlink(); break; + case SP_VERB_EDIT_UNLINK_CLONE_RECURSIVE: + dt->selection->unlinkRecursive(); + break; case SP_VERB_EDIT_RELINK_CLONE: dt->selection->relink(); break; @@ -2530,6 +2533,8 @@ Verb *Verb::_base_verbs[] = { N_("Create a clone (a copy linked to the original) of selected object"), INKSCAPE_ICON("edit-clone")), new EditVerb(SP_VERB_EDIT_UNLINK_CLONE, "EditUnlinkClone", N_("Unlin_k Clone"), N_("Cut the selected clones' links to the originals, turning them into standalone objects"), INKSCAPE_ICON("edit-clone-unlink")), + new EditVerb(SP_VERB_EDIT_UNLINK_CLONE_RECURSIVE, "EditUnlinkCloneRecursive", N_("Unlink Clones _recursively"), + N_("Unlink all clones in the selection, even if they are in groups."), INKSCAPE_ICON("edit-clone-unlink")), new EditVerb(SP_VERB_EDIT_RELINK_CLONE, "EditRelinkClone", N_("Relink to Copied"), N_("Relink the selected clones to the object currently on the clipboard"), NULL), new EditVerb(SP_VERB_EDIT_CLONE_SELECT_ORIGINAL, "EditCloneSelectOriginal", N_("Select _Original"), |
