diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2011-06-22 21:40:59 +0000 |
|---|---|---|
| committer | Felipe C. da S. Sanches <juca@members.fsf.org> | 2011-06-22 21:40:59 +0000 |
| commit | 1f189ac0c28ee85408431815dceefd0607b6465b (patch) | |
| tree | 51ba4c4bff3e6a29652668325ee3bfb5d89d0a20 /src/verbs.cpp | |
| parent | Translation. PO template and French translation update. (diff) | |
| download | inkscape-1f189ac0c28ee85408431815dceefd0607b6465b.tar.gz inkscape-1f189ac0c28ee85408431815dceefd0607b6465b.zip | |
Adding a "Remove All Guides" option to the Edit menu.
(bzr r10343)
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 da2e396c7..bb22711e8 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -966,6 +966,9 @@ EditVerb::perform(SPAction *action, void *data, void */*pdata*/) case SP_VERB_EDIT_DESELECT: SelectionHelper::selectNone(dt); break; + case SP_VERB_EDIT_DELETE_ALL_GUIDES: + sp_guide_delete_all_guides(dt); + break; case SP_VERB_EDIT_GUIDES_AROUND_PAGE: sp_guide_create_guides_around_page(dt); break; @@ -2340,6 +2343,8 @@ Verb *Verb::_base_verbs[] = { N_("Deselect any selected objects or nodes"), INKSCAPE_ICON_EDIT_SELECT_NONE), new EditVerb(SP_VERB_EDIT_GUIDES_AROUND_PAGE, "EditGuidesAroundPage", N_("Create _Guides Around the Page"), N_("Create four guides aligned with the page borders"), NULL), + new EditVerb(SP_VERB_EDIT_DELETE_ALL_GUIDES, "EditRemoveAllGuides", N_("Delete All Guides"), + N_("Create four guides aligned with the page borders"), NULL), new EditVerb(SP_VERB_EDIT_NEXT_PATHEFFECT_PARAMETER, "EditNextPathEffectParameter", N_("Next path effect parameter"), N_("Show next editable path effect parameter"), INKSCAPE_ICON_PATH_EFFECT_PARAMETER_NEXT), |
