From: Jack Jansen Date: Thu, 8 Mar 2001 23:09:32 +0000 (+0000) Subject: Handle the ReopenApplication event (by ignoring it). X-Git-Tag: v2.1b2~199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b;p=thirdparty%2FPython%2Fcpython.git Handle the ReopenApplication event (by ignoring it). --- diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index 6bb0b4472225..3ff7e59a66b0 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,