Handle the ReopenApplication event (by ignoring it).
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 8 Mar 2001 23:09:32 +0000 (23:09 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 8 Mar 2001 23:09:32 +0000 (23:09 +0000)
Mac/Tools/IDE/PythonIDEMain.py

index 6bb0b4472225e7fda41c457e1699b3ee408b80e5..3ff7e59a66b0060188785f6b635105a7b617d303 100644 (file)
@@ -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,