summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-07-25 02:42:34 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-07-25 02:42:34 +0000
commitd71d34161792bd83064081bda825ef9579825b78 (patch)
tree03d50df0b06563d4f479330b6a53da9c7f55a81a /src/verbs.cpp
parentFix for 1028425 : Gradient Stop Alpha value not correct in Fill/Stroke dialog (diff)
downloadinkscape-d71d34161792bd83064081bda825ef9579825b78.tar.gz
inkscape-d71d34161792bd83064081bda825ef9579825b78.zip
Fix for 722625 : Select Same by Object Type
(bzr r11573)
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 effa49e4e..ae9e53cbe 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -973,6 +973,9 @@ void EditVerb::perform(SPAction *action, void *data)
case SP_VERB_EDIT_SELECT_SAME_STROKE_STYLE:
SelectionHelper::selectSameStrokeStyle(dt);
break;
+ case SP_VERB_EDIT_SELECT_SAME_OBJECT_TYPE:
+ SelectionHelper::selectSameObjectType(dt);
+ break;
case SP_VERB_EDIT_INVERT:
SelectionHelper::invert(dt);
break;
@@ -2327,6 +2330,8 @@ Verb *Verb::_base_verbs[] = {
N_("Select all objects with the same stroke as the selected objects"), GTK_STOCK_SELECT_ALL),
new EditVerb(SP_VERB_EDIT_SELECT_SAME_STROKE_STYLE, "EditSelectSameStrokeStyle", N_("Stroke St_yle"),
N_("Select all objects with the same stroke style (width, dash, markers) as the selected objects"), GTK_STOCK_SELECT_ALL),
+ new EditVerb(SP_VERB_EDIT_SELECT_SAME_OBJECT_TYPE, "EditSelectSameObjectType", N_("_Object Type"),
+ N_("Select all objects with the same object type (rect, arc, text, path, bitmap etc) as the selected objects"), GTK_STOCK_SELECT_ALL),
new EditVerb(SP_VERB_EDIT_INVERT, "EditInvert", N_("In_vert Selection"),
N_("Invert selection (unselect what is selected and select everything else)"), INKSCAPE_ICON("edit-select-invert")),
new EditVerb(SP_VERB_EDIT_INVERT_IN_ALL_LAYERS, "EditInvertInAllLayers", N_("Invert in All Layers"),