X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpreferences-skeleton.h;h=73e7bd2ac72b95abfcf0d32193a66272b2dbb5ac;hb=91c307b04acb17109e2811ed9f525217e03cea02;hp=6650de925c293e76e0ea45dee3c5d1f4a9cc4c1a;hpb=f453505d28a837d262dfe7469030d95980625bff;p=inkscape.git diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index 6650de925..73e7bd2ac 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -1,15 +1,25 @@ #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" @@ -20,6 +30,7 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -27,6 +38,17 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" "\n" " \n" " \n" @@ -48,16 +70,17 @@ 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" @@ -65,23 +88,40 @@ 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" +" 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" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" @@ -125,31 +165,35 @@ 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" +" \n" " \n" " \n" " \n" @@ -162,12 +206,21 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -175,25 +228,59 @@ 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" +" \n" +" \n" +" \n" +" \n" // GDL_SWITCHER_STYLE_BOTH " \n" #ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs " \n" @@ -204,7 +291,6 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" -" \n" " \n" " \n" " \n" @@ -212,6 +298,8 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" +" \n" " \n" " \n" " \n" @@ -223,10 +311,42 @@ static char const preferences_skeleton[] = " images=\"4278190335\"" //ff0000ff " clips=\"16711935\"" // 00ff00ff " masks=\"65535\"/>\n" // 0x0000ffff -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \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" " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" "\n" "\n";