summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorRaphael Rosch <launchpad@insaner.com>2016-04-14 18:19:03 +0000
committerinsaner <launchpad@insaner.com>2016-04-14 18:19:03 +0000
commit1dfba12bc394644560de7d2560aa03061237d0b8 (patch)
tree7956c04251bf5943ef3b7e8c8a077674fb20001e /src/verbs.cpp
parentFix c++11 flag when required on non-debian-based systems (diff)
downloadinkscape-1dfba12bc394644560de7d2560aa03061237d0b8.tar.gz
inkscape-1dfba12bc394644560de7d2560aa03061237d0b8.zip
function to release object from group
Fixed bugs: - https://launchpad.net/bugs/484041 (bzr r14845)
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 7b128c172..e3ba82e46 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1150,6 +1150,9 @@ void SelectionVerb::perform(SPAction *action, void *data)
case SP_VERB_SELECTION_UNGROUP:
sp_selection_ungroup(selection, dt);
break;
+ case SP_VERB_SELECTION_UNGROUP_POP_SELECTION:
+ sp_selection_ungroup_pop_selection(selection, dt);
+ break;
default:
handled = false;
break;
@@ -2559,6 +2562,8 @@ Verb *Verb::_base_verbs[] = {
N_("Group selected objects"), INKSCAPE_ICON("object-group")),
new SelectionVerb(SP_VERB_SELECTION_UNGROUP, "SelectionUnGroup", N_("_Ungroup"),
N_("Ungroup selected groups"), INKSCAPE_ICON("object-ungroup")),
+ new SelectionVerb(SP_VERB_SELECTION_UNGROUP_POP_SELECTION, "SelectionUnGroupPopSelection", N_("_Pop selected objects out of group"),
+ N_("Pop selected objects out of group"), INKSCAPE_ICON("object-ungroup-pop-selection")),
new SelectionVerb(SP_VERB_SELECTION_TEXTTOPATH, "SelectionTextToPath", N_("_Put on Path"),
N_("Put text on path"), INKSCAPE_ICON("text-put-on-path")),