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
94416e55
Commit
94416e55
authored
Aug 02, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of a couple of OS9-isms.
parent
2eb4b18f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Mac/Lib/MiniAEFrame.py
Mac/Lib/MiniAEFrame.py
+8
-3
No files found.
Mac/Lib/MiniAEFrame.py
View file @
94416e55
...
...
@@ -82,7 +82,8 @@ class MiniApplication:
if
c
==
'.'
:
raise
KeyboardInterrupt
,
"Command-period"
if
c
==
'q'
:
MacOS
.
OutputSeen
()
if
hasattr
(
MacOS
,
'OutputSeen'
):
MacOS
.
OutputSeen
()
self
.
quitting
=
1
return
elif
what
==
mouseDown
:
...
...
@@ -98,12 +99,16 @@ class MiniApplication:
name
=
self
.
applemenu
.
GetMenuItemText
(
item
)
Menu
.
OpenDeskAcc
(
name
)
elif
id
==
self
.
quitid
and
item
==
1
:
MacOS
.
OutputSeen
()
if
hasattr
(
MacOS
,
'OutputSeen'
):
MacOS
.
OutputSeen
()
self
.
quitting
=
1
Menu
.
HiliteMenu
(
0
)
return
# Anything not handled is passed to Python/SIOUX
MacOS
.
HandleEvent
(
event
)
if
hasattr
(
MacOS
,
'HandleEvent'
):
MacOS
.
HandleEvent
(
event
)
else
:
print
"Unhandled event:"
,
event
def
getabouttext
(
self
):
return
self
.
__class__
.
__name__
...
...
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