Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5c303888
Commit
5c303888
authored
Sep 25, 1996
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled splash screen, added ShowMessage
parent
4892ab7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Mac/Tools/twit/twit.py
Mac/Tools/twit/twit.py
+6
-4
No files found.
Mac/Tools/twit/twit.py
View file @
5c303888
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment