index 0b860174891b64fe64e464387082cf2116cb04c1..f2bbce93f640925a0a4a61058e4535c1e0ce5559 100644 (file)
#ifndef SEEN_PREFERENCES_SKELETON_H
#define SEEN_PREFERENCES_SKELETON_H
-#include <inkscape_version.h>
+#include <inkscape-version.h>
+/* The root's "version" attribute describes the preferences file format version.
+ * It should only increase when a backwards-incompatible change is made,
+ * and special handling has to be added to the preferences class to update
+ * obsolete versions the user might have. */
static char const preferences_skeleton[] =
-"<inkscape version=\"" INKSCAPE_VERSION "\"\n"
+"<inkscape version=\"1\"\n"
" xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n"
" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\">\n"
" <group id=\"window\">\n"
" <group id=\"menu\" state=\"1\"/>\n"
" <group id=\"commands\" state=\"1\"/>\n"
+" <group id=\"snaptoolbox\" state=\"1\"/>\n"
" <group id=\"toppanel\" state=\"1\"/>\n"
" <group id=\"toolbox\" state=\"1\"/>\n"
" <group id=\"statusbar\" state=\"1\"/>\n"
" <group id=\"fullscreen\">\n"
" <group id=\"menu\" state=\"1\"/>\n"
" <group id=\"commands\" state=\"1\"/>\n"
+" <group id=\"snaptoolbox\" state=\"1\"/>\n"
" <group id=\"toppanel\" state=\"1\"/>\n"
" <group id=\"toolbox\" state=\"1\"/>\n"
" <group id=\"statusbar\" state=\"1\"/>\n"
" <group id=\"focus\">\n"
" <group id=\"menu\" state=\"0\"/>\n"
" <group id=\"commands\" state=\"0\"/>\n"
+" <group id=\"snaptoolbox\" state=\"0\"/>\n"
" <group id=\"toppanel\" state=\"0\"/>\n"
" <group id=\"toolbox\" state=\"0\"/>\n"
" <group id=\"statusbar\" state=\"0\"/>\n"
" </group>\n"
" <group id=\"freehand\"\n"
" style=\"fill:none;fill-rule:evenodd;stroke:black;stroke-opacity:1;stroke-linejoin:miter;stroke-linecap:butt;\">\n"
-" <eventcontext id=\"pencil\" tolerance=\"4.0\" selcue=\"1\" style=\"stroke-width:1px;\" usecurrent=\"0\"/>\n"
+" <eventcontext id=\"pencil\" tolerance=\"4.0\" selcue=\"1\" style=\"stroke-width:1px;\" usecurrent=\"0\" average_all_sketches=\"1\"/>\n"
" <eventcontext id=\"pen\" mode=\"drag\" selcue=\"1\" style=\"stroke-width:1px;\" usecurrent=\"0\"/>\n"
" </group>\n"
" <eventcontext id=\"calligraphic\" style=\"fill:black;fill-opacity:1;fill-rule:nonzero;stroke:none;\"\n"
-" mass=\"0.02\" drag=\"1\" angle=\"30\" width=\"0.15\" thinning=\"0.1\" flatness=\"0.9\" cap_rounding=\"0.0\" usecurrent=\"1\"\n"
+" mass=\"2\" drag=\"1\" angle=\"30\" width=\"15\" thinning=\"10\" flatness=\"90\" cap_rounding=\"0.0\" usecurrent=\"1\"\n"
" tracebackground=\"0\" usepressure=\"1\" usetilt=\"0\" keep_selected=\"1\">\n"
" <group id=\"preset\">\n"
" <group id=\"cp0\" name=\"Dip pen\" mass=\"2\" wiggle=\"0.0\" angle=\"30.0\" thinning=\"10\" tremor=\"0.0\" flatness=\"90\" cap_rounding=\"0.0\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n"
" <group id=\"wheelzooms\" value=\"0\"/>\n"
" <group id=\"transientpolicy\" value=\"1\"/>\n"
" <group id=\"scrollingacceleration\" value=\"0.4\"/>\n"
-" <group id=\"snapdelay\" value=\"150\"/>\n"
+" <group id=\"snapdelay\" value=\"150\"/>\n"
+" <group id=\"snapweight\" value=\"0.5\"/>\n"
+" <group id=\"snapclosestonly\" value=\"0\"/>\n"
" <group id=\"snapindicator\" value=\"1\"/>\n"
" <group id=\"autoscrollspeed\" value=\"0.7\"/>\n"
" <group id=\"autoscrolldistance\" value=\"-10\"/>\n"
" <group id=\"debug\">\n"
" <group id=\"latency\" skew=\"1\"/>\n"
" </group>\n"
+" <group id=\"ui\"\n"
+" language=\"\"/>\n"
"\n"
"</inkscape>\n";