From 53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 8 Mar 2001 23:09:32 +0000 Subject: Handle the ReopenApplication event (by ignoring it). --- Mac/Tools/IDE/PythonIDEMain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index 6bb0b44..3ff7e59 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -18,6 +18,8 @@ class PythonIDE(Wapplication.Application): AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication, self.ignoreevent) + AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEReopenApplication, + self.ignoreevent) AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEPrintDocuments, self.ignoreevent) AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenDocuments, -- cgit v0.12