From 106fceacb213a4eeecdc4c1761861b1ce1d1a083 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sun, 19 Aug 2001 22:00:20 +0000 Subject: Temporarily disabled the import hook. It breaks with the package-based Carbon and its workaround. --- Mac/Tools/IDE/Splash.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/Tools/IDE/Splash.py b/Mac/Tools/IDE/Splash.py index 60cd7c6..5293295 100644 --- a/Mac/Tools/IDE/Splash.py +++ b/Mac/Tools/IDE/Splash.py @@ -32,6 +32,7 @@ def importing(module): Qd.SetPort(splash) fontID = Fm.GetFNum("Python-Sans") if not fontID: + from Fonts import geneva fontID = geneva Qd.TextFont(fontID) Qd.TextSize(9) @@ -64,7 +65,7 @@ def my__import__(name, globals=None, locals=None, fromlist=None): return rv return _real__import__(name) -install_importhook() +#install_importhook() kHighLevelEvent = 23 import Win -- cgit v0.12