diff options
| author | alexandru.roman <alexroman5g@gmail.com> | 2017-01-21 22:28:05 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-01-21 22:28:05 +0000 |
| commit | e8dcb5062f6114a9fb06d496ab5d906aec405c78 (patch) | |
| tree | a65d2125ceae6bd4ee9f5074962755e932dadaf1 /src/verbs.cpp | |
| parent | Fixes typos in strings. Some typos in Inkscape 0.92 LPE UI (diff) | |
| download | inkscape-e8dcb5062f6114a9fb06d496ab5d906aec405c78.tar.gz inkscape-e8dcb5062f6114a9fb06d496ab5d906aec405c78.zip | |
Fix "swap fill and stroke" for multiple objects in selection
Add verb and shortcut possibility
Fixed bugs:
- https://launchpad.net/bugs/367360
- https://launchpad.net/bugs/675690
(bzr r15428)
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 975a3679e..aeb742105 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1086,6 +1086,9 @@ void EditVerb::perform(SPAction *action, void *data) case SP_VERB_EDIT_NEXT_PATHEFFECT_PARAMETER: sp_selection_next_patheffect_param(dt); break; + case SP_VERB_EDIT_SWAP_FILL_STROKE: + dt->selection->swapFillStroke(); + break; case SP_VERB_EDIT_LINK_COLOR_PROFILE: break; case SP_VERB_EDIT_REMOVE_COLOR_PROFILE: @@ -2585,6 +2588,8 @@ Verb *Verb::_base_verbs[] = { 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")), + new EditVerb(SP_VERB_EDIT_SWAP_FILL_STROKE, "EditSwapFillStroke", N_("Swap fill and stroke"), + N_("Swap fill and stroke of an object"), NULL), // Selection new SelectionVerb(SP_VERB_SELECTION_TO_FRONT, "SelectionToFront", N_("Raise to _Top"), |
