diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-10-11 16:40:24 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-10-11 16:40:24 +0000 |
| commit | 33644fe39db29168cf573c7665d3285ebc86fccb (patch) | |
| tree | e1a7612874e17446ce373dacd126fa13f0b14dc8 /src/ui/dialog/inkscape-preferences.cpp | |
| parent | trivial: dom/odf/: svn propset svn:eol-style native *.h *.cpp. (diff) | |
| download | inkscape-33644fe39db29168cf573c7665d3285ebc86fccb.tar.gz inkscape-33644fe39db29168cf573c7665d3285ebc86fccb.zip | |
implement no-forking option
(bzr r3886)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 2510825d0..ccc41a0a3 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -800,6 +800,21 @@ void InkscapePreferences::initPageMisc() _page_misc.add_line( false, "", _misc_comment, "", _("When on, a comment will be added to the raw print output, marking the rendered output for an object with its label"), true); + _misc_forkvectors.init( _("Prevent sharing of gradient definitions"), "options.forkgradientvectors", "value", true); + _page_misc.add_line( false, "", _misc_forkvectors, "", + _("When on, shared gradient definitions are automatically forked on change; uncheck to allow sharing of gradient definitions so that editing one object may affect other objects using the same gradient"), true); + + _page_misc.add_line( false, _("Simplification threshold:"), _misc_simpl, "", + _("How strong is the Simplify command by default. If you invoke this command several times in quick succession, it will act more and more aggressively; invoking it again after a pause restores the default threshold."), false); + int const num_items = 5; + Glib::ustring labels[num_items] = {_("None"), _("2x2"), _("4x4"), _("8x8"), _("16x16")}; + int values[num_items] = {0, 1, 2, 3, 4}; + _misc_overs_bitmap.set_size_request(_sb_width); + _misc_overs_bitmap.init("options.bitmapoversample", "value", labels, values, num_items, 1); + _page_misc.add_line( false, _("Oversample bitmaps:"), _misc_overs_bitmap, "", "", false); + + + // consider moving this to an UI tab: _misc_small_toolbar.init( _("Make commands toolbar smaller"), "toolbox", "small", true); _page_misc.add_line( false, "", _misc_small_toolbar, "", _("Make the commands toolbar use the 'secondary' toolbar size (requires restart)"), true); @@ -812,14 +827,6 @@ void InkscapePreferences::initPageMisc() _page_misc.add_line( false, _("Max recent documents:"), _misc_recent, "", _("The maximum length of the Open Recent list in the File menu"), false); _misc_simpl.init("options.simplifythreshold", "value", 0.0001, 1.0, 0.0001, 0.0010, 0.0010, false, false); - _page_misc.add_line( false, _("Simplification threshold:"), _misc_simpl, "", - _("How strong is the Simplify command by default. If you invoke this command several times in quick succession, it will act more and more aggressively; invoking it again after a pause restores the default threshold."), false); - int const num_items = 5; - Glib::ustring labels[num_items] = {_("None"), _("2x2"), _("4x4"), _("8x8"), _("16x16")}; - int values[num_items] = {0, 1, 2, 3, 4}; - _misc_overs_bitmap.set_size_request(_sb_width); - _misc_overs_bitmap.init("options.bitmapoversample", "value", labels, values, num_items, 1); - _page_misc.add_line( false, _("Oversample bitmaps:"), _misc_overs_bitmap, "", "", false); this->AddPage(_page_misc, _("Misc"), PREFS_PAGE_MISC); } |
