]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Disabled splash screen, added ShowMessage
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 25 Sep 1996 14:08:40 +0000 (14:08 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 25 Sep 1996 14:08:40 +0000 (14:08 +0000)
Mac/Tools/twit/twit.py

index 6054939b52920f26583649c0bec2e315f8a020e5..d12bca2dec2f3741f8ae866ac4adbf62e704130a 100644 (file)
@@ -12,8 +12,9 @@ Jack Jansen, CWI, August 1996."""
 
 import os
 if os.name == 'mac':
-       import MacOS
-       MacOS.splash(515)       # Try to show the splash screen
+# Not supported in distributed 1.4b3:
+##     import MacOS
+##     MacOS.splash(515)       # Try to show the splash screen
        import mactwit_mod; twit_mod = mactwit_mod
        import mactwit_stack; twit_stack = mactwit_stack
        import mactwit_app; twit_app = mactwit_app
@@ -62,6 +63,7 @@ def TWIT_VarBrowser(parent, var):
 def Initialize():
        # Gross...
        TwitCore.AskString = twit_app.AskString
+       TwitCore.ShowMessage = twit_app.ShowMessage
        TwitCore.SetWatch = twit_app.SetWatch
        TwitCore.SetCursor = twit_app.SetCursor
        
@@ -69,8 +71,8 @@ def main():
        twit_app.Initialize()
        TwitCore.Initialize()
        Initialize()
-       if os.name == 'mac':
-               MacOS.splash()
+##     if os.name == 'mac':
+##             MacOS.splash()
        Twit(None, None)
        
 def run(statement, globals=None, locals=None):