summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorAlexander Brock <zaibu@lunar-orbit.de>2016-10-27 17:13:05 +0000
committerAlexander Brock <zaibu@lunar-orbit.de>2016-10-27 17:13:05 +0000
commit3649ef4c620b9eae5132d89a39ebd280d9dc50a8 (patch)
tree6fa8f8d9c07ea8fc4e94a416d2e288f6c1537524 /src/verbs.cpp
parentFix signals (diff)
downloadinkscape-3649ef4c620b9eae5132d89a39ebd280d9dc50a8.tar.gz
inkscape-3649ef4c620b9eae5132d89a39ebd280d9dc50a8.zip
Add recursive clone unlink feature
(bzr r15191.1.1)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 7a9875c69..5e3fea677 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"),