summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-07-21 03:36:25 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-07-21 03:36:25 +0000
commit9c7757e7fc10db2004c188a7aff95ab54b0e80d6 (patch)
tree88ddb04c252ac2377cf061fdcb8f1ebbfcff16ce /src/ui
parentFix for 960240 : Rename Edit:Find to Find Replace (diff)
downloadinkscape-9c7757e7fc10db2004c188a7aff95ab54b0e80d6.tar.gz
inkscape-9c7757e7fc10db2004c188a7aff95ab54b0e80d6.zip
Fix for 816496 : Alt+mouse wheel z-order cycling, add option to cycle wrap
(bzr r11561)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp7
-rw-r--r--src/ui/dialog/inkscape-preferences.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index f2de350a0..b0cbc1b9f 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1089,6 +1089,13 @@ void InkscapePreferences::initPageBehavior()
_page_select.add_line( false, "", _sel_layer_deselects, "",
_("Uncheck this to be able to keep the current objects selected when the current layer changes"));
+
+ _sel_cycle.init ( _("Wrap when cycling objects in z-order"), "/options/selection/cycleWrap", true);
+
+ _page_select.add_group_header( _("Alt+Scroll Wheel"));
+ _page_select.add_line( true, "", _sel_cycle, "",
+ _("Wrap around at start and end when cycling objects in z-order"));
+
this->AddPage(_page_select, _("Selecting"), iter_behavior, PREFS_PAGE_BEHAVIOR_SELECTING);
// Transforms options
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index 1cf5cc975..49818110a 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -279,6 +279,7 @@ protected:
UI::Widget::PrefCheckButton _sel_hidden;
UI::Widget::PrefCheckButton _sel_locked;
UI::Widget::PrefCheckButton _sel_layer_deselects;
+ UI::Widget::PrefCheckButton _sel_cycle;
UI::Widget::PrefSpinButton _importexport_export;
UI::Widget::PrefSlider _snap_delay;