From: Jack Jansen Date: Fri, 5 May 2000 23:10:58 +0000 (+0000) Subject: Auto-install on import, if NavServices is available. Unless a "no navservices" flag... X-Git-Tag: v2.0b1~1839 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fdadcd42cd430d6e77c1df1ed1df777ca3ff4a2;p=python Auto-install on import, if NavServices is available. Unless a "no navservices" flag is set Python automagically imports this module so code that uses macfs.xxxGetFile will get NavServices dialogs. --- diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py index f7b6b2eec8..3c126465ed 100644 --- a/Mac/Lib/macfsn.py +++ b/Mac/Lib/macfsn.py @@ -129,6 +129,7 @@ if Nav and Nav.NavServicesAvailable(): StandardPutFile = _StandardPutFile SetFolder = _SetFolder GetDirectory = _GetDirectory + _install() else: from macfs import StandardGetFile, PromptGetFile, StandardPutFile, SetFolder, GetDirectory