diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-11-06 06:50:58 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-11-06 06:50:58 +0000 |
| commit | d4e49cf974f418557543599316c5f2e246856df2 (patch) | |
| tree | bbc1a10710feeefef95d9690a1edc0369392fda3 /src/verbs.cpp | |
| parent | implement select next/prev as verbs (diff) | |
| download | inkscape-d4e49cf974f418557543599316c5f2e246856df2.tar.gz inkscape-d4e49cf974f418557543599316c5f2e246856df2.zip | |
implement select next/prev in gradient tool as well
(bzr r1919)
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 1495c1f9e..4721de9d5 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -76,6 +76,7 @@ #include "sp-flowtext.h" #include "layer-fns.h" #include "node-context.h" +#include "gradient-context.h" /** @@ -944,6 +945,8 @@ EditVerb::perform(SPAction *action, void *data, void *pdata) case SP_VERB_EDIT_SELECT_NEXT: if (tools_isactive(dt, TOOLS_NODES)) { sp_nodepath_select_next(SP_NODE_CONTEXT(ec)->nodepath); + } else if (tools_isactive(dt, TOOLS_GRADIENT)) { + sp_gradient_context_select_next (ec); } else { sp_selection_item_next(); } @@ -951,6 +954,8 @@ EditVerb::perform(SPAction *action, void *data, void *pdata) case SP_VERB_EDIT_SELECT_PREV: if (tools_isactive(dt, TOOLS_NODES)) { sp_nodepath_select_prev(SP_NODE_CONTEXT(ec)->nodepath); + } else if (tools_isactive(dt, TOOLS_GRADIENT)) { + sp_gradient_context_select_prev (ec); } else { sp_selection_item_prev(); } |
