]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed temporary code that always set creator to SimpleText.
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 17 Aug 2000 20:01:24 +0000 (20:01 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 17 Aug 2000 20:01:24 +0000 (20:01 +0000)
Mac/Python/gusiconfig.cpp

index db4661951f0d4098d8016eb7f07d7399c6e32c98..8b1a1fa3abb1b8a9478417fb66bb8ce69c3a63d0 100644 (file)
@@ -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);