summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-06-15 18:40:46 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-06-15 18:40:46 +0000
commit4294089d059618544c060911e2eb9663ee76c666 (patch)
tree8545afb68cbed6bdc416b08a72d600a32b3c177e /src/ui/dialog/inkscape-preferences.cpp
parentAttempt to make ImageMagick and OpenMP optional with cmake. (diff)
downloadinkscape-4294089d059618544c060911e2eb9663ee76c666.tar.gz
inkscape-4294089d059618544c060911e2eb9663ee76c666.zip
add preference for relative guideline rotation snapping (see rev 10303)
(bzr r10307)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index b8b86fac1..52c434961 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -7,7 +7,7 @@
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Bruno Dilly <bruno.dilly@gmail.com>
*
- * Copyright (C) 2004-2007 Authors
+ * Copyright (C) 2004-2011 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
@@ -270,6 +270,9 @@ void InkscapePreferences::initPageSteps()
_steps_rot_snap.init("/options/rotationsnapsperpi/value", labels, values, num_items, 12);
_page_steps.add_line( false, _("Rotation snaps every:"), _steps_rot_snap, _("degrees"),
_("Rotating with Ctrl pressed snaps every that much degrees; also, pressing [ or ] rotates by this amount"), false);
+ _steps_rot_relative.init ( _("Relative snapping of guideline angles"), "/options/relativeguiderotationsnap/value", false);
+ _page_steps.add_line( false, "", _steps_rot_relative, "",
+ _("When on, the snap angles when rotating a guideline will be relative to the original angle"));
_steps_zoom.init ( "/options/zoomincrement/value", 101.0, 500.0, 1.0, 1.0, 1.414213562, true, true);
_page_steps.add_line( false, _("Zoom in/out by:"), _steps_zoom, _("%"),
_("Zoom tool click, +/- keys, and middle click zoom in and out by this multiplier"), false);