Code

remove tolerance from tool prefs now that it's on the controls bar
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 9 Jul 2008 16:47:05 +0000 (16:47 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 9 Jul 2008 16:47:05 +0000 (16:47 +0000)
src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h

index 664f2c4e8fbea3e1684367df8c4812e0dcbd2665..e9b41d76e1d3cc5b7d52a6f2b40560fe1499cbef 100644 (file)
@@ -443,10 +443,6 @@ void InkscapePreferences::initPageTools()
     //Pencil
     this->AddPage(_page_pencil, _("Pencil"), iter_tools, PREFS_PAGE_TOOLS_PENCIL);
     this->AddSelcueCheckbox(_page_pencil, "tools.freehand.pencil", true);
-    _t_pencil_tolerance.init ( "tools.freehand.pencil", "tolerance", 0.0, 100.0, 0.5, 1.0, 10.0, false, false);
-    _page_pencil.add_line( false, _("Tolerance:"), _t_pencil_tolerance, "",
-                           _("This value affects the amount of smoothing applied to freehand lines; lower values produce more uneven paths with more nodes"),
-                           false );
     this->AddNewObjectsStyle(_page_pencil, "tools.freehand.pencil");
     this->AddDotSizeSpinbutton(_page_pencil, "tools.freehand.pencil", 3.0);
 
index 2f3c7e951f0c8bb0eb3ddaa2756ed7d095d72103..289a8ecce146fe9c8407781458bd41c8bd63f936 100644 (file)
@@ -135,8 +135,6 @@ protected:
     PrefSpinButton  _t_node_pathflash_timeout;
     PrefColorPicker _t_node_pathoutline_color;
 
-    PrefSpinButton  _t_pencil_tolerance;
-
     PrefRadioButton _win_dockable, _win_floating;
     PrefRadioButton _win_ontop_none, _win_ontop_normal, _win_ontop_agressive;
     PrefRadioButton _win_save_geom_off, _win_save_geom, _win_save_geom_prefs;