diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-14 12:21:12 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-08-14 12:21:12 (GMT) |
commit | 9062fa2fb54e1c47aa314eef74b314d128a6b2c4 (patch) | |
tree | f2af220a7fab2677d77d0e3324e384f8e19bdccd /Mac/scripts/EditPythonPrefs.py | |
parent | ad169272fb83730c6d59ff140ef5ac15e52ffdf3 (diff) | |
download | cpython-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.py | 4 |
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') |