summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-07-29 19:46:28 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-07-29 19:46:28 +0000
commit68e9fa667400e8fc4b9abe477f2352b3843ea769 (patch)
tree9ebb36565a30dd2fb509f0887266c286fb1e12bc /src
parentdue to the order of processing events, we must disable lmb handling in childr... (diff)
downloadinkscape-68e9fa667400e8fc4b9abe477f2352b3843ea769.tar.gz
inkscape-68e9fa667400e8fc4b9abe477f2352b3843ea769.zip
add more rotation snaps
(bzr r3342)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index f3429ce7b..7f0708e23 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -195,9 +195,9 @@ void InkscapePreferences::initPageSteps()
_steps_compass.init ( _("Compass-like display of angles"), "options.compassangledisplay", "value", true);
_page_steps.add_line( false, "", _steps_compass, "",
_("When on, angles are displayed with 0 at north, 0 to 360 range, positive clockwise; otherwise with 0 at east, -180 to 180 range, positive counterclockwise"));
- int const num_items = 12;
- Glib::ustring labels[num_items] = {"90", "60", "45", "30", "15", "10", "7.5", "6", "3", "2", "1", _("None")};
- int values[num_items] = {2, 3, 4, 6, 12, 18, 24, 30, 60, 90, 180, 0};
+ int const num_items = 17;
+ Glib::ustring labels[num_items] = {"90", "60", "45", "36", "30", "22.5", "18", "15", "12", "10", "7.5", "6", "3", "2", "1", "0.5", _("None")};
+ int values[num_items] = {2, 3, 4, 5, 6, 8, 10, 12, 15, 18, 24, 30, 60, 90, 180, 360, 0};
_steps_rot_snap.set_size_request(_sb_width);
_steps_rot_snap.init("options.rotationsnapsperpi", "value", labels, values, num_items, 12);
_page_steps.add_line( false, _("Rotation snaps every:"), _steps_rot_snap, _("degrees"),