X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpreferences-skeleton.h;h=40e1c892a6f553741eb4b62d861fad6a29c3b189;hb=5a43b2bbcb81ab7da396dad781d3f9b7854eb002;hp=5aeadaa1bfc1fef99e317d8fbbddf3655a6d265c;hpb=37765ce2d0861c72f1bb66500dffce71dda53ae2;p=inkscape.git diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index 5aeadaa1b..40e1c892a 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -1,15 +1,26 @@ #ifndef SEEN_PREFERENCES_SKELETON_H #define SEEN_PREFERENCES_SKELETON_H -#include +#include +#ifdef N_ +#undef N_ +#endif +#define N_(x) x + +/* 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[] = -"\n" " \n" +" \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -18,8 +29,10 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -27,6 +40,18 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" "\n" " \n" " \n" @@ -66,29 +91,34 @@ static char const preferences_skeleton[] = " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" " \n" -" \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" " \n" " \n" " \n" " \n" +" \n" +" \n" " \n" -" \n" +" show_sample_in_list=\"1\"\n" +" style=\"fill:black;fill-opacity:1;stroke:none;font-family:Sans;font-style:normal;font-weight:normal;font-size:40px;\" selcue=\"1\"/>\n" +" \n" " \n" +" \n" " \n" " \n" " \n" @@ -154,16 +184,19 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" -" \n" +" \n" +" \n" " \n" +" \n" " \n" " \n" " \n" @@ -182,6 +215,15 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -189,7 +231,11 @@ static char const preferences_skeleton[] = " \n" "\n" " \n" +" " +" " +" " " " +" " " " " " " \n" @@ -216,12 +262,17 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -250,6 +301,7 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -264,6 +316,7 @@ static char const preferences_skeleton[] = " masks=\"65535\"/>\n" // 0x0000ffff " \n" " \n" +" \n" " \n" " \n" @@ -288,9 +341,16 @@ static char const preferences_skeleton[] = " empcolor=\"65344\"\n" // 0x0000FF40 " empspacing=\"5\"/>\n" " \n" +" \n" +" \n" " \n" "\n" " " +// NOTE: This gets filled in by the extensions themselves based on +// the properties that they provide in their INX files. " \n" "\n" " \n" +" id=\"iconpreview\"\n" +" autoRefresh=\"1\"\n" +" pack=\"1\"\n" +" selectionHold=\"1\"\n" +" showFrames=\"1\"\n" +" selectionOnly=\"0\">\n" " \n" " \n" " \n" +" \n" @@ -387,6 +456,11 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" "\n" "\n"; @@ -404,4 +478,4 @@ static char const preferences_skeleton[] = fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :