Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/EditPythonPrefs.py @ 2979:7eea9b426802 legacy-trunk
Added prompts to various file-select dialogs
Renumbered resources to above 512
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 14 Aug 1995 12:21:12 +0000 |
| parents | 315760ba0041 |
| children | 022474ac2451 |
line wrap: on
line diff
--- a/Mac/scripts/EditPythonPrefs.py Mon Aug 14 12:20:22 1995 +0000 +++ b/Mac/scripts/EditPythonPrefs.py Mon Aug 14 12:21:12 1995 +0000 @@ -18,7 +18,7 @@ # 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 @@ 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')
