summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-03-08 23:09:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-03-08 23:09:32 (GMT)
commit53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b (patch)
treecadd1810f3755cb602cc97703f0f897e458343ad /Mac/Tools
parent54f3bdbfe1bdb194c6fcb8a1bb0798a806597723 (diff)
downloadcpython-53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b.zip
cpython-53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b.tar.gz
cpython-53ebe562f5e9b6b4fe9ae597c7cdab9590e15f2b.tar.bz2
Handle the ReopenApplication event (by ignoring it).
Diffstat (limited to 'Mac/Tools')
-rw-r--r--Mac/Tools/IDE/PythonIDEMain.py2
1 files changed, 2 insertions, 0 deletions
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,