summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-09-17 00:24:19 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2015-09-17 00:24:19 +0000
commitab9ef493fa3a752c5e16da7f3e187b4c00031442 (patch)
tree3160bc53fa9144d1edab1c37fe80158d265da661 /src/ui/dialog
parentExtensions. Interpolate: optionally use z-order instead of selection order (w... (diff)
downloadinkscape-ab9ef493fa3a752c5e16da7f3e187b4c00031442.tar.gz
inkscape-ab9ef493fa3a752c5e16da7f3e187b4c00031442.zip
Added a pref option to disable "spacebar panning". (default:enabled)
Fixed bugs: - https://launchpad.net/bugs/1401593 (bzr r14372)
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 49864ccbb..14eaa65aa 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1250,11 +1250,9 @@ void InkscapePreferences::initPageBehavior()
_scroll_auto_thres.init ( "/options/autoscrolldistance/value", -600.0, 600.0, 1.0, 1.0, -10.0, true, false);
_page_scrolling.add_line( true, _("_Threshold:"), _scroll_auto_thres, _("pixels"),
_("How far (in screen pixels) you need to be from the canvas edge to trigger autoscroll; positive is outside the canvas, negative is within the canvas"), false);
-/*
- _scroll_space.init ( _("Left mouse button pans when Space is pressed"), "/options/spacepans/value", false);
- _page_scrolling.add_line( false, "", _scroll_space, "",
- _("When on, pressing and holding Space and dragging with left mouse button pans canvas (as in Adobe Illustrator); when off, Space temporarily switches to Selector tool (default)"));
-*/
+ _scroll_space.init ( _("Mouse move pans when Space is pressed"), "/options/spacebarpans/value", true);
+ _page_scrolling.add_line( true, "", _scroll_space, "",
+ _("When on, pressing and holding Space and dragging pans canvas"));
_wheel_zoom.init ( _("Mouse wheel zooms by default"), "/options/wheelzooms/value", false);
_page_scrolling.add_line( false, "", _wheel_zoom, "",
_("When on, mouse wheel zooms without Ctrl and scrolls canvas with Ctrl; when off, it zooms with Ctrl and scrolls without Ctrl"));