diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-01-16 00:12:43 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-01-16 00:12:43 +0000 |
| commit | 2366e7af893efd3b5a12a83c840d7d0fa04a36f9 (patch) | |
| tree | 6905cb150a4cb1c303eb5a71311c0adb8b39d088 /src/pencil-context.cpp | |
| parent | create inkview on dist (diff) | |
| download | inkscape-2366e7af893efd3b5a12a83c840d7d0fa04a36f9.tar.gz inkscape-2366e7af893efd3b5a12a83c840d7d0fa04a36f9.zip | |
Make path segments convertable to guides, too
(bzr r4503)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 1ee39d530..f17337183 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -21,6 +21,7 @@ #include "desktop.h" #include "desktop-handles.h" #include "selection.h" +#include "selection-chemistry.h" #include "draw-anchor.h" #include "message-stack.h" #include "message-context.h" @@ -39,6 +40,7 @@ #include "xml/repr.h" #include "document.h" #include "desktop-style.h" +#include "macros.h" static void sp_pencil_context_class_init(SPPencilContextClass *klass); static void sp_pencil_context_init(SPPencilContext *pc); @@ -509,6 +511,13 @@ pencil_handle_key_press(SPPencilContext *const pc, guint const keyval, guint con } } break; + case GDK_g: + case GDK_G: + if (mod_shift_only(state)) { + sp_selection_to_guides(); + ret = true; + } + break; default: break; } |
