diff Mac/scripts/EditPythonPrefs.py @ 27406:caa6df9e0880 legacy-trunk

Use new file dialogs.
author Jack Jansen <jack.jansen@cwi.nl>
date Sun, 26 Jan 2003 21:40:00 +0000
parents f4af27cb2632
children d19bc3b1813c
line wrap: on
line diff
--- a/Mac/scripts/EditPythonPrefs.py	Sun Jan 26 20:37:01 2003 +0000
+++ b/Mac/scripts/EditPythonPrefs.py	Sun Jan 26 21:40:00 2003 +0000
@@ -159,7 +159,8 @@
 ##		if n == REVERT_ITEM:
 ##			return [], pythondir
 		if n == DIR_ITEM:
-			fss, ok = macfs.GetDirectory('Select python home folder:')
+			fss = EasyDialogs.AskFolder(message='Select python home folder:',
+				wanted=macfs.FSSpec)
 			if ok:
 				options['dir'] = fss
 		elif n == HELP_ITEM and Help: