summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-10-09 18:05:31 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-10-09 18:05:31 +0000
commit6d9e847d45c11a15f86e717e30604f7aa954cb5a (patch)
tree699695b92c4059f88ef68bffca3a3979f928ae62 /src/verbs.cpp
parentRemoved some unnecessarry bounding box updates in sp-item.cpp (diff)
downloadinkscape-6d9e847d45c11a15f86e717e30604f7aa954cb5a.tar.gz
inkscape-6d9e847d45c11a15f86e717e30604f7aa954cb5a.zip
apply John Cliff's patch [ 1743843 ] Create Marker from Selection Menu Item
(bzr r3864)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index e49263ede..a84500c44 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -930,6 +930,9 @@ EditVerb::perform(SPAction *action, void *data, void *pdata)
case SP_VERB_EDIT_CLONE_ORIGINAL:
sp_select_clone_original();
break;
+ case SP_VERB_EDIT_SELECTION_2_MARKER:
+ sp_selection_to_marker();
+ break;
case SP_VERB_EDIT_TILE:
sp_selection_tile();
break;
@@ -2218,6 +2221,9 @@ Verb *Verb::_base_verbs[] = {
N_("Cut the selected clone's link to its original, turning it into a standalone object"), "edit_unlink_clone"),
new EditVerb(SP_VERB_EDIT_CLONE_ORIGINAL, "EditCloneOriginal", N_("Select _Original"),
N_("Select the object to which the selected clone is linked"), "edit_select_original"),
+ // TRANSLATORS: Convert selection to a line marker
+ new EditVerb(SP_VERB_EDIT_SELECTION_2_MARKER, "ObjectsToMarker", N_("Objects to _Marker"),
+ N_("Convert selection to a line marker"), NULL),
// TRANSLATORS: Convert selection to a rectangle with tiled pattern fill
new EditVerb(SP_VERB_EDIT_TILE, "ObjectsToPattern", N_("Objects to Patter_n"),
N_("Convert selection to a rectangle with tiled pattern fill"), NULL),