diff options
| author | Josh Andler <scislac@gmail.com> | 2007-01-25 21:46:30 +0000 |
|---|---|---|
| committer | scislac <scislac@users.sourceforge.net> | 2007-01-25 21:46:30 +0000 |
| commit | 098a1afa9536d31199e6a4c943fb8f5d5e11345a (patch) | |
| tree | 87b5c92655ddd8fe18f1147a4324de7ebf73b953 /src/tools-switch.cpp | |
| parent | Created SVG version. (diff) | |
| download | inkscape-098a1afa9536d31199e6a4c943fb8f5d5e11345a.tar.gz inkscape-098a1afa9536d31199e6a4c943fb8f5d5e11345a.zip | |
double-click on offset changes to node tool
(bzr r2287)
Diffstat (limited to 'src/tools-switch.cpp')
| -rw-r--r-- | src/tools-switch.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp index d42354e8d..017aed979 100644 --- a/src/tools-switch.cpp +++ b/src/tools-switch.cpp @@ -2,9 +2,10 @@ * Utility functions for switching tools (= contexts) * * Authors: - * bulia byak <bulia@dr.com> + * bulia byak <buliabyak@users.sf.net> + * Josh Andler <scislac@users.sf.net> * - * Copyright (C) 2003 authors + * Copyright (C) 2003-2007 authors * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -42,6 +43,7 @@ #include "zoom-context.h" #include "dropper-context.h" #include "connector-context.h" +#include "sp-offset.h" #include "message-context.h" #include "tools-switch.h" @@ -233,6 +235,8 @@ void tools_switch_by_item(SPDesktop *dt, SPItem *item) } } else if (SP_IS_TEXT(item) || SP_IS_FLOWTEXT(item)) { tools_switch(dt, TOOLS_TEXT); + } else if (SP_IS_OFFSET(item)) { + tools_switch(dt, TOOLS_NODES); } } |
