From 1fdadcd42cd430d6e77c1df1ed1df777ca3ff4a2 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 5 May 2000 23:10:58 +0000 Subject: 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. --- Mac/Lib/macfsn.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py index f7b6b2e..3c12646 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 -- cgit v0.12