Use new file dialogs.

This commit is contained in:
Jack Jansen 2003-01-26 21:40:00 +00:00
parent d9db3a6713
commit b340acf9fd
16 changed files with 72 additions and 78 deletions

View file

@ -410,10 +410,9 @@ def incbuildno(filename):
def main():
macresource.need('DLOG', DIALOG_ID, 'fullbuild.rsrc')
dir, ok = macfs.GetDirectory('Python source folder:')
if not ok:
dir = EasyDialogs.AskFolder(message='Python source folder:')
if not dir:
sys.exit(0)
dir = dir.as_pathname()
# Set genpluginprojects to use this folder (slight hack)
genpluginprojects.PYTHONDIR = dir