Code

Removed the unused allowshorthands preference.
authorjaspervdg <jaspervdg@users.sourceforge.net>
Fri, 18 Jul 2008 16:23:40 +0000 (16:23 +0000)
committerjaspervdg <jaspervdg@users.sourceforge.net>
Fri, 18 Jul 2008 16:23:40 +0000 (16:23 +0000)
src/preferences-skeleton.h
src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h

index 8cdb1fe47681341e2e82d08182864c7d481387ed..5aeadaa1bfc1fef99e317d8fbbddf3655a6d265c 100644 (file)
@@ -262,7 +262,7 @@ static char const preferences_skeleton[] =
 "           images=\"4278190335\"" //ff0000ff
 "           clips=\"16711935\"" // 00ff00ff
 "           masks=\"65535\"/>\n" // 0x0000ffff
-"    <group id=\"svgoutput\" usenamedcolors=\"0\" numericprecision=\"8\" minimumexponent=\"-8\" inlineattrs=\"0\" indent=\"2\" allowrelativecoordinates=\"1\" allowshorthands=\"1\" forcerepeatcommands=\"0\"/>\n"
+"    <group id=\"svgoutput\" usenamedcolors=\"0\" numericprecision=\"8\" minimumexponent=\"-8\" inlineattrs=\"0\" indent=\"2\" allowrelativecoordinates=\"1\" forcerepeatcommands=\"0\"/>\n"
 "    <group id=\"forkgradientvectors\" value=\"1\"/>\n"
 "    <group id=\"autosave\" enable=\"0\" interval=\"10\" path=\"\" max=\"10\"/>\n"
 "    <group id=\"grids\""
index 1e4f7c3b564e1b60be19840a43e1d97be7dd093d..dc11a4c2e83293f5d20464c6b1b284f38411d616 100644 (file)
@@ -927,11 +927,6 @@ void InkscapePreferences::initPageSVGOutput()
     _svgoutput_allowrelativecoordinates.init( _("Allow relative coordinates"), "options.svgoutput", "allowrelativecoordinates", true);
     _page_svgoutput.add_line( false, "", _svgoutput_allowrelativecoordinates, "", _("If set, relative coordinates may be used in path data"), false);
 
-    /* seems this is never used in Inkscape code
-    _svgoutput_allowshorthands.init( _("Allow shorthands"), "options.svgoutput", "allowshorthands", true);
-    _page_svgoutput.add_line( false, "", _svgoutput_allowshorthands, "", _(""), false);
-    */
-
     _svgoutput_forcerepeatcommands.init( _("Force repeat commands"), "options.svgoutput", "forcerepeatcommands", false);
     _page_svgoutput.add_line( false, "", _svgoutput_forcerepeatcommands, "", _("Force repeating of the same path command (for example, 'L 1,2 L 3,4' instead of 'L 1,2 3,4')"), false);
 
index 289a8ecce146fe9c8407781458bd41c8bd63f936..0407de45f6d4054e47384f392340fb753ab69ce5 100644 (file)
@@ -220,7 +220,6 @@ protected:
     PrefCheckButton   _svgoutput_inlineattrs;
     PrefSpinButton    _svgoutput_indent;
     PrefCheckButton   _svgoutput_allowrelativecoordinates;
-    PrefCheckButton   _svgoutput_allowshorthands;
     PrefCheckButton   _svgoutput_forcerepeatcommands;
 
     PrefEntryButtonHBox _importexport_ocal_url;