From: Jack Jansen Date: Thu, 4 Apr 1996 15:39:42 +0000 (+0000) Subject: Added resource-ids for override preferences. X-Git-Tag: v1.4b1~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab69eb967304400af6d18e330803309704c27c00;p=python Added resource-ids for override preferences. --- diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h index 4a69d5d9e0..93e046be6d 100644 --- a/Mac/Include/pythonresources.h +++ b/Mac/Include/pythonresources.h @@ -58,17 +58,23 @@ /* ** The following are valid both in the binary (or shared library) -** and in the Preferences file +** and in the Preferences file. +** For all three the override is tried first, through all current +** resource files. This allows an applet to override standard settings +** by providing a resource of the correct type. */ /* The STR# resource for sys.path initialization */ #define PYTHONPATH_ID 128 +#define PYTHONPATHOVERRIDE_ID 129 /* The alis resource for locating the python home directory */ #define PYTHONHOME_ID 128 +#define PYTHONHOMEOVERRIDE_ID 129 /* The Python options resource and offset of its members */ #define PYTHONOPTIONS_ID 128 +#define PYTHONOPTIONSOVERRIDE_ID 129 #define POPT_INSPECT 0 #define POPT_VERBOSE 1 #define POPT_SUPPRESS 2