mirror of https://github.com/python/cpython
Handle the ReopenApplication event (by ignoring it).
This commit is contained in:
parent
54f3bdbfe1
commit
53ebe562f5
|
@ -18,6 +18,8 @@ class PythonIDE(Wapplication.Application):
|
||||||
|
|
||||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication,
|
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication,
|
||||||
self.ignoreevent)
|
self.ignoreevent)
|
||||||
|
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEReopenApplication,
|
||||||
|
self.ignoreevent)
|
||||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEPrintDocuments,
|
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEPrintDocuments,
|
||||||
self.ignoreevent)
|
self.ignoreevent)
|
||||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenDocuments,
|
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenDocuments,
|
||||||
|
|
Loading…
Reference in New Issue