X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpreferences-skeleton.h;h=32f4b7c350bddfe7bdf4d25650bb80d2c6bc8fd1;hb=84589260ec76ae2659b858d6799483e378de99f2;hp=dfbbd61eeaa405eec8b43ef3cf7973c718d76e82;hpb=304f51846342812ceea2b6d1f69c57585a5e412e;p=inkscape.git diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index dfbbd61ee..32f4b7c35 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,32 +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" " \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" @@ -157,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" @@ -185,6 +215,15 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -192,9 +231,11 @@ static char const preferences_skeleton[] = " \n" "\n" " \n" +" " " " " " " " +" " " " " " " \n" @@ -221,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" @@ -255,6 +301,7 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -269,6 +316,7 @@ static char const preferences_skeleton[] = " masks=\"65535\"/>\n" // 0x0000ffff " \n" " \n" +" \n" " \n" " \n" @@ -293,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" @@ -395,6 +459,8 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" "\n" "\n";