summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/echo.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:32:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:32:00 (GMT)
commit01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7 (patch)
treea82d21b09c0d3a22ddb789e78b8d0229ade3766a /Mac/Lib/test/echo.py
parentbf21bef2543e5045f3569cd9227d6b7921dda59c (diff)
downloadcpython-01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7.zip
cpython-01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7.tar.gz
cpython-01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7.tar.bz2
Use FSpCreateResFile() in stead of CreateResFile().
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
Diffstat (limited to 'Mac/Lib/test/echo.py')
-rw-r--r--Mac/Lib/test/echo.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Mac/Lib/test/echo.py b/Mac/Lib/test/echo.py
index 1bad3e1..46c84c2 100644
--- a/Mac/Lib/test/echo.py
+++ b/Mac/Lib/test/echo.py
@@ -56,7 +56,6 @@ class EchoServer:
Menu.ClearMenuBar()
self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024")
applemenu.AppendMenu("All about echo...;(-")
- applemenu.AppendResMenu('DRVR')
applemenu.InsertMenu(0)
Menu.DrawMenuBar()
@@ -105,9 +104,6 @@ class EchoServer:
if id == self.appleid:
if item == 1:
mymessage("Echo -- echo AppleEvents")
- elif item > 1:
- name = self.applemenu.GetItem(item)
- Qd.OpenDeskAcc(name)
elif what <> autoKey:
print "Event:", (eventname(what), message, when, (h, v), modifiers)
## MacOS.HandleEvent(event)