[Python-checkins] CVS: python/dist/src/Mac/Include pythonresources.h,1.25,1.25.4.1

Jack Jansen jackjansen@users.sourceforge.net
Sun, 29 Jul 2001 14:23:16 -0700


Update of /cvsroot/python/python/dist/src/Mac/Include
In directory usw-pr-cvs1:/tmp/cvs-serv16847/Python/Mac/Include

Modified Files:
      Tag: release21-maint
	pythonresources.h 
Log Message:
If you double-click a file with creator Pyth but owner != TEXT exit with a warning that this is not a script but an auxiliary document such as a preferrences file or an aplication template. This is a lot better than giving syntax errors on binary data:-)

Index: pythonresources.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Include/pythonresources.h,v
retrieving revision 1.25
retrieving revision 1.25.4.1
diff -C2 -d -r1.25 -r1.25.4.1
*** pythonresources.h	2001/02/11 01:07:16	1.25
--- pythonresources.h	2001/07/29 21:23:13	1.25.4.1
***************
*** 96,99 ****
--- 96,102 ----
  #define NOPREFNAME_ID	BASE_ID+9
  
+ /* Not a script */
+ #define NOTASCRIPT_ID BASE_ID+10
+ 
  /* EditPythonPrefs range. Needed here to forestall conflicts with applets */
  #define EDITPYTHONPREFS_MIN	508