summaryrefslogtreecommitdiffstats
path: root/src/select-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-01-11 19:01:50 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-01-11 19:01:50 +0000
commit0e82b86bbfd6d5656431edbf20fa8b6f79515a04 (patch)
treee9c728ab9079678cf526dc228800767a2f16c5f6 /src/select-context.cpp
parentCheck for perspective in document defs (to avoid hanging/crashes after vacuum... (diff)
downloadinkscape-0e82b86bbfd6d5656431edbf20fa8b6f79515a04.tar.gz
inkscape-0e82b86bbfd6d5656431edbf20fa8b6f79515a04.zip
Add possibility to convert objects (only rectangles and 3D boxes currently) to guidelines. Also see corresponding post on the mailing list; in particular, feel free to revert it if this is inappropriate during Frost phase.
(bzr r4462)
Diffstat (limited to 'src/select-context.cpp')
-rw-r--r--src/select-context.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index cdf63785c..48afadb2b 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -888,6 +888,13 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event)
ret = TRUE;
}
break;
+ case GDK_g:
+ case GDK_G:
+ if (MOD__SHIFT_ONLY) {
+ sp_selection_to_guides();
+ ret = true;
+ }
+ break;
default:
break;
}