summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-17 20:01:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-17 20:01:24 (GMT)
commitd843a018e94d3083fdc167638cf71b4eb450e29d (patch)
tree8059bb78289be72b4ed0fdf0b26785caa6800a30 /Mac
parenta1795032ca82724446f3278290535b069d01ca11 (diff)
downloadcpython-d843a018e94d3083fdc167638cf71b4eb450e29d.zip
cpython-d843a018e94d3083fdc167638cf71b4eb450e29d.tar.gz
cpython-d843a018e94d3083fdc167638cf71b4eb450e29d.tar.bz2
Removed temporary code that always set creator to SimpleText.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/gusiconfig.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp
index db46619..8b1a1fa 100644
--- a/Mac/Python/gusiconfig.cpp
+++ b/Mac/Python/gusiconfig.cpp
@@ -48,8 +48,11 @@ void GUSISetupFactories()
#ifdef GUSISetupFactories_BeginHook
GUSISetupFactories_BeginHook
#endif
-// GUSIwithInetSockets();
+#if TARGET_API_MAC_CARBON
+ GUSIwithInetSockets();
+#else
GUSIwithMTInetSockets();
+#endif
#ifdef GUSISetupFactories_EndHook
GUSISetupFactories_EndHook
#endif
@@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig()
if ( prefrh != -1) CloseResFile(prefrh);
UseResFile(oldrh);
- config->ConfigureDefaultTypeCreator('TEXT', 'ttxt');
+ config->ConfigureDefaultTypeCreator('TEXT', 'R*ch');
+#if 0
config->ConfigureSuffices(
sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
+#endif
config->ConfigureAutoInitGraf(false);
config->ConfigureAutoSpin(false);
config->ConfigureHandleAppleEvents(false);