summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/twit/twit.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-09-25 14:08:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-09-25 14:08:40 (GMT)
commit5c30388861796f3cab10fdbe67c60e1371beb0a7 (patch)
tree96705b233b67e9df3e2c0afeb900cc9f11e361fd /Mac/Tools/twit/twit.py
parent4892ab7f79dbd7a0ee19afa83944be5f3f5b0507 (diff)
downloadcpython-5c30388861796f3cab10fdbe67c60e1371beb0a7.zip
cpython-5c30388861796f3cab10fdbe67c60e1371beb0a7.tar.gz
cpython-5c30388861796f3cab10fdbe67c60e1371beb0a7.tar.bz2
Disabled splash screen, added ShowMessage
Diffstat (limited to 'Mac/Tools/twit/twit.py')
-rw-r--r--Mac/Tools/twit/twit.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Mac/Tools/twit/twit.py b/Mac/Tools/twit/twit.py
index 6054939..d12bca2 100644
--- a/Mac/Tools/twit/twit.py
+++ b/Mac/Tools/twit/twit.py
@@ -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):