diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 15:32:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 15:32:00 (GMT) |
commit | 01a2d9e281a3b9ce7762c1ee192ae1f38d037fe7 (patch) | |
tree | a82d21b09c0d3a22ddb789e78b8d0229ade3766a /Mac/Lib/test | |
parent | bf21bef2543e5045f3569cd9227d6b7921dda59c (diff) | |
download | cpython-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')
-rw-r--r-- | Mac/Lib/test/AEservertest.py | 4 | ||||
-rw-r--r-- | Mac/Lib/test/echo.py | 4 |
2 files changed, 0 insertions, 8 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 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) |