summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Splash.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-19 22:00:20 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-19 22:00:20 (GMT)
commit106fceacb213a4eeecdc4c1761861b1ce1d1a083 (patch)
tree4406e85e3cfeaa82e2a68fae10063f960c3aadf9 /Mac/Tools/IDE/Splash.py
parent25a68e1f44764721996ed36ca11c046bd2c480a9 (diff)
downloadcpython-106fceacb213a4eeecdc4c1761861b1ce1d1a083.zip
cpython-106fceacb213a4eeecdc4c1761861b1ce1d1a083.tar.gz
cpython-106fceacb213a4eeecdc4c1761861b1ce1d1a083.tar.bz2
Temporarily disabled the import hook. It breaks with the package-based
Carbon and its workaround.
Diffstat (limited to 'Mac/Tools/IDE/Splash.py')
-rw-r--r--Mac/Tools/IDE/Splash.py3
1 files changed, 2 insertions, 1 deletions
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