summaryrefslogtreecommitdiffstats
path: root/src/preferences-skeleton.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-01-13 02:27:04 +0000
committertweenk <tweenk@users.sourceforge.net>2009-01-13 02:27:04 +0000
commita3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 (patch)
tree9efdab733f1ae2b3580143a0e1c91a934a020712 /src/preferences-skeleton.h
parentLatest set of tango icons (by jEsuSdA 8) ) (diff)
downloadinkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.tar.gz
inkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.zip
Improved version reporting. Add SVN revision and custom status to
version string on Linux. (bzr r7123)
Diffstat (limited to 'src/preferences-skeleton.h')
-rw-r--r--src/preferences-skeleton.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h
index 1d17613c6..9a40c6bb1 100644
--- a/src/preferences-skeleton.h
+++ b/src/preferences-skeleton.h
@@ -1,10 +1,14 @@
#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"