summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/EditPythonPrefs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-08-14 12:21:12 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-08-14 12:21:12 (GMT)
commit9062fa2fb54e1c47aa314eef74b314d128a6b2c4 (patch)
treef2af220a7fab2677d77d0e3324e384f8e19bdccd /Mac/scripts/EditPythonPrefs.py
parentad169272fb83730c6d59ff140ef5ac15e52ffdf3 (diff)
downloadcpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.zip
cpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.tar.gz
cpython-9062fa2fb54e1c47aa314eef74b314d128a6b2c4.tar.bz2
Added prompts to various file-select dialogs
Renumbered resources to above 512
Diffstat (limited to 'Mac/scripts/EditPythonPrefs.py')
-rw-r--r--Mac/scripts/EditPythonPrefs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py
index 3e14ff3..2ed6045 100644
--- a/Mac/scripts/EditPythonPrefs.py
+++ b/Mac/scripts/EditPythonPrefs.py
@@ -18,7 +18,7 @@ import Res # For Res.Error
# resource IDs in our own resources (dialogs, etc)
MESSAGE_ID = 256
-DIALOG_ID = 131
+DIALOG_ID = 512
TEXT_ITEM = 1
OK_ITEM = 2
CANCEL_ITEM = 3
@@ -85,7 +85,7 @@ def interact(list, pythondir):
if n == REVERT_ITEM:
return [], pythondir
if n == DIR_ITEM:
- fss, ok = macfs.GetDirectory()
+ fss, ok = macfs.GetDirectory('Select python home folder:')
if ok:
pythondir = fss
tmp = string.splitfields(GetDialogItemText(h), '\r')