summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-01-20 18:01:27 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-01-20 18:01:27 +0000
commit5de2ce4701a004ff4f6163c4f4fb0ea4c405e821 (patch)
treec7bfa3c5b5faa06232ee4a4f8cdbcabb2bc34bd1 /src
parentMove general ellipsize text function out of gradient files. (diff)
downloadinkscape-5de2ce4701a004ff4f6163c4f4fb0ea4c405e821.tar.gz
inkscape-5de2ce4701a004ff4f6163c4f4fb0ea4c405e821.zip
Add 5° rotation option
Fixes https://bugs.launchpad.net/inkscape/+bug/1744481
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 d1d462dfe..2a50c14fc 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1349,9 +1349,9 @@ void InkscapePreferences::initPageBehavior()
_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 = 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", C_("Rotation angle", "None")};
- int values[num_items] = {2, 3, 4, 5, 6, 8, 10, 12, 15, 18, 24, 30, 60, 90, 180, 360, 0};
+ int const num_items = 18;
+ Glib::ustring labels[num_items] = {"90", "60", "45", "36", "30", "22.5", "18", "15", "12", "10", "7.5", "6", "5", "3", "2", "1", "0.5", C_("Rotation angle", "None")};
+ int values[num_items] = {2, 3, 4, 5, 6, 8, 10, 12, 15, 18, 24, 30, 36, 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"),