summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PyDocSearch.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-26 22:15:48 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-26 22:15:48 (GMT)
commitfd0b00e0a7c11e3ba5743cfc82b7e9ef099453c7 (patch)
tree36784415dde6ba18950ed49bf94b3b2ca6eff71e /Mac/Tools/IDE/PyDocSearch.py
parent2373ff4e4ffbcd35112e13528b162ee80e4786cc (diff)
downloadcpython-fd0b00e0a7c11e3ba5743cfc82b7e9ef099453c7.zip
cpython-fd0b00e0a7c11e3ba5743cfc82b7e9ef099453c7.tar.gz
cpython-fd0b00e0a7c11e3ba5743cfc82b7e9ef099453c7.tar.bz2
Use new file dialogs.
Diffstat (limited to 'Mac/Tools/IDE/PyDocSearch.py')
-rw-r--r--Mac/Tools/IDE/PyDocSearch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Tools/IDE/PyDocSearch.py b/Mac/Tools/IDE/PyDocSearch.py
index 98eced9..61d3959 100644
--- a/Mac/Tools/IDE/PyDocSearch.py
+++ b/Mac/Tools/IDE/PyDocSearch.py
@@ -6,6 +6,7 @@ import MacPrefs
import MacOS
import string
import webbrowser
+import EasyDialogs
app = W.getapplication()
@@ -223,9 +224,8 @@ class PyDocSearch:
MacOS.SysBeep(0)
def setdocpath(self):
- fss, ok = macfs.GetDirectory()
- if ok:
- docpath = fss.as_pathname()
+ docpath = EasyDialogs.AskFolder()
+ if docpath:
if not verifydocpath(docpath):
W.Message("This does not seem to be a Python documentation folder...")
else: