Code

Exposed preference for smaller tool icons on the left. (Needed for
authorjoncruz <joncruz@users.sourceforge.net>
Sun, 7 Oct 2007 04:40:31 +0000 (04:40 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Sun, 7 Oct 2007 04:40:31 +0000 (04:40 +0000)
smaller displays now that more tools are present)

src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h

index 8878f21ed5a0fd8d35dccaa6ab9dcdc94e9aa619..f3494dd55e4c3a00b27b5c6732f02662af85bee8 100644 (file)
@@ -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);
index 823de92deba3046f37fccdf895af9e07a3a35fc3..7aadb3399f89eefe7f28954cccf8bf17cdc361ff 100644 (file)
@@ -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;