summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/EditPythonPrefs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-10-11 11:30:26 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-10-11 11:30:26 (GMT)
commit145c92dfb5592782c3cac0e7d3875b236585afb6 (patch)
treec7a3e6eedeb3e7fc5abe7071020b9e51fc1f1ca8 /Mac/scripts/EditPythonPrefs.py
parent11b6d24da04bdfe287cff1faae5ab24e26aa1993 (diff)
downloadcpython-145c92dfb5592782c3cac0e7d3875b236585afb6.zip
cpython-145c92dfb5592782c3cac0e7d3875b236585afb6.tar.gz
cpython-145c92dfb5592782c3cac0e7d3875b236585afb6.tar.bz2
Moved resources to 510/511: the numbers above 512 gave problems when
editing preferences in applets with their own dialogs
Diffstat (limited to 'Mac/scripts/EditPythonPrefs.py')
-rw-r--r--Mac/scripts/EditPythonPrefs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py
index 3d7bece..7cabfa1 100644
--- a/Mac/scripts/EditPythonPrefs.py
+++ b/Mac/scripts/EditPythonPrefs.py
@@ -17,7 +17,7 @@ import Res # For Res.Error
# resource IDs in our own resources (dialogs, etc)
MESSAGE_ID = 256
-DIALOG_ID = 512
+DIALOG_ID = 511
TEXT_ITEM = 1
OK_ITEM = 2
CANCEL_ITEM = 3
@@ -27,7 +27,7 @@ OPTIONS_ITEM = 7
# The options dialog. There is a correspondence between
# the dialog item numbers and the option.
-OPT_DIALOG_ID = 513
+OPT_DIALOG_ID = 510
# 1 thru 9 are the options
# The GUSI creator/type and delay-console
OD_CREATOR_ITEM = 10
@@ -356,6 +356,7 @@ def edit_applet(name):
if notfound:
message('Warning: initial %s taken from system-wide defaults'%notfound)
# Let the user play away
+ print 'DBG interaction'
result = interact(l, fss, (options, creator, type, delaycons), name)
# See what we have to update, and how