X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpreferences-skeleton.h;h=6185ff729230a68ca568c52772d951ec2d756056;hb=eb363d7983180e9a60cdcee5d39b8f6814df6085;hp=30748bfdcaad2d562d4efd8668c5197982b986b8;hpb=2e09460b8eeafdbedb779c23aecb8906a6702822;p=inkscape.git diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index 30748bfdc..6185ff729 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" @@ -38,6 +60,9 @@ static char const preferences_skeleton[] = " pagecolor=\"#ffffff\"\n" " bordercolor=\"#666666\"\n" " borderopacity=\"1.0\"\n" +" objecttolerance=\"10.0\"\n" +" gridtolerance=\"10.0\"\n" +" guidetolerance=\"10.0\"\n" " inkscape:pageopacity=\"0.0\"\n" " inkscape:pageshadow=\"2\"\n" " inkscape:window-width=\"640\"\n" @@ -45,30 +70,56 @@ 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" +" \n" +" \n" +" \n" +" \n" +" \n" -" \n" +" style=\"fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera 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" @@ -108,35 +159,39 @@ 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" +" \n" +" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -149,10 +204,21 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n" +" \n" +" \n" +" \n" " \n" " \n" " \n" @@ -160,48 +226,163 @@ 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" +" \n" +" \n" // GDL_SWITCHER_STYLE_BOTH " \n" +#ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs +" \n" +#endif " \n" " \n" " \n" " \n" " \n" " \n" -" \n" " \n" " \n" -" \n" +" \n" +" \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" // 0x0000ffff +" \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" " \n" " \n" "\n" " \n" +" \n" +" \n" +"\n" +" \n" " \n" @@ -258,6 +439,11 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" +" \n" +" \n" +" \n" +" \n" "\n" "\n";