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

@ -4,6 +4,7 @@ the filename and a bit of context.
By Just, with a little glue by Jack"""
import EasyDialogs
import macfs
import re
import os
@ -43,9 +44,9 @@ def walk(top, recurse=1):
pos = j
def main():
fss, ok = macfs.GetDirectory()
if ok:
walk(fss.as_pathname())
pathname = EasyDialogs.AskFolder()
if pathname:
walk(pathname)
if __name__ == '__main__':
main()