From: joncruz Date: Sun, 7 Oct 2007 04:40:31 +0000 (+0000) Subject: Exposed preference for smaller tool icons on the left. (Needed for X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=51300bba2c5b35b6802f3d4ccfcb1b8a9cb8700f;p=inkscape.git Exposed preference for smaller tool icons on the left. (Needed for smaller displays now that more tools are present) --- diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 8878f21ed..f3494dd55 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -804,6 +804,10 @@ void InkscapePreferences::initPageMisc() _page_misc.add_line( false, "", _misc_small_toolbar, "", _("Make the commands toolbar use the 'secondary' toolbar size (requires restart)"), true); + _misc_small_tools.init( _("Make main tools smaller"), "toolbox.tools", "small", true); + _page_misc.add_line( false, "", _misc_small_tools, "", + _("Make the main tools use the 'secondary' toolbar size (requires restart)"), true); + _misc_recent.init("options.maxrecentdocuments", "value", 0.0, 1000.0, 1.0, 1.0, 1.0, true, false); _page_misc.add_line( false, _("Max recent documents:"), _misc_recent, "", _("The maximum length of the Open Recent list in the File menu"), false); diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 823de92de..7aadb3399 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -162,6 +162,7 @@ protected: PrefSpinButton _importexport_export, _misc_recent, _misc_simpl; PrefCheckButton _misc_comment, _misc_scripts; PrefCheckButton _misc_small_toolbar; + PrefCheckButton _misc_small_tools; PrefCombo _misc_overs_bitmap; PrefCheckButton _cms_display;