summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/AEservertest.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/AEservertest.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/AEservertest.py')
-rw-r--r--Mac/Lib/test/AEservertest.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Mac/Lib/test/AEservertest.py b/Mac/Lib/test/AEservertest.py
index 1e3e508..631889d 100644
--- a/Mac/Lib/test/AEservertest.py
+++ b/Mac/Lib/test/AEservertest.py
@@ -75,7 +75,6 @@ class EchoServer:
Menu.ClearMenuBar()
self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024")
applemenu.AppendMenu("All about echo...;(-")
- applemenu.AppendResMenu('DRVR')
applemenu.InsertMenu(0)
self.filemenu = Menu.NewMenu(self.fileid, 'File')
@@ -146,9 +145,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 id == self.fileid:
if item == 1:
raise Quit