diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-31 13:59:36 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-31 13:59:36 (GMT) |
commit | 41fa7ea7195bffab0d72586199652ea702218e08 (patch) | |
tree | bd7246daf0df6ff2ae428060b65dd4e219403216 /Mac/Include | |
parent | 9119ccfadda51648fd48d40a925a8f8b666cf18d (diff) | |
download | cpython-41fa7ea7195bffab0d72586199652ea702218e08.zip cpython-41fa7ea7195bffab0d72586199652ea702218e08.tar.gz cpython-41fa7ea7195bffab0d72586199652ea702218e08.tar.bz2 |
Python will now attempt (again) to create at least a minimal
preferences file if it is missing.
Diffstat (limited to 'Mac/Include')
-rw-r--r-- | Mac/Include/pythonresources.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h index 00f1979..5125a10 100644 --- a/Mac/Include/pythonresources.h +++ b/Mac/Include/pythonresources.h @@ -16,20 +16,20 @@ ** shared ppc python, in the core dynamic library) */ -/* The alert for "No Python directory, where is it?" */ -#define NOPYTHON_ALERT 128 -#define YES_ITEM 1 -#define NO_ITEM 2 -#define CURWD_ITEM 3 +/* The alert for "No Python directory, where is it?" (OBSOLETE) */ +#define NOPYTHON_ALERT 128 +#define YES_ITEM 1 +#define NO_ITEM 2 +#define CURWD_ITEM 3 /* The alert for "this is an applet template" */ -#define NOPYC_ALERT 129 +#define NOPYC_ALERT 129 /* The dialog for our GetDirectory and PromptGetFile call */ -#define GETDIR_ID 130 /* Resource ID for our "get directory" */ +#define GETDIR_ID 130 /* Resource ID for our "get directory" */ #define GETFILEPROMPT_ID 132 /* Resource id for prompted get file */ -#define PROMPT_ITEM 10 /* The prompt, at the top */ -#define SELECTCUR_ITEM 11 /* "Select current directory" button */ +#define PROMPT_ITEM 10 /* The prompt, at the top */ +#define SELECTCUR_ITEM 11 /* "Select current directory" button */ /* The dialog for interactive options */ @@ -42,6 +42,17 @@ #define OPT_UNBUFFERED 6 #define OPT_DEBUGGING 7 +/* Dialog for 'No preferences directory' */ +#define NOPREFDIR_ID 133 + +/* Dialog for 'Create preferences file?' */ +#define NOPREFFILE_ID 134 +#define NOPREFFILE_YES 1 +#define NOPREFFILE_NO 2 + +/* Dialog for 'Bad preference file' */ +#define BADPREFFILE_ID 135 + /* ** The following are valid both in the binary (or shared library) ** and in the Preferences file |