aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2012-05-08 11:03:05 (EDT)
committerOleg Besedin2012-05-08 11:03:05 (EDT)
commit6545d9832a15f1b9a5568acfe46f78c7652ccbf0 (patch)
treeca0587aadef194176654cb54b09dd2b82a116704
parent741a0a346fe199d5a3c1a8e967f7ac49d7675988 (diff)
downloadeclipse.platform.ui-6545d9832a15f1b9a5568acfe46f78c7652ccbf0.zip
eclipse.platform.ui-6545d9832a15f1b9a5568acfe46f78c7652ccbf0.tar.gz
eclipse.platform.ui-6545d9832a15f1b9a5568acfe46f78c7652ccbf0.tar.bz2
Bug 375744 - Command-Q does not ask to confirm exitv20120508-1503
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
index 1ce3943..c68c45f 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/workbench/renderers/swt/cocoa/CocoaUIHandler.java
@@ -598,6 +598,7 @@ public class CocoaUIHandler {
// cribbed from SWT Snippet347
private void hookApplicationMenu() {
+ hookAppMenuItem(SWT.ID_QUIT, COMMAND_ID_QUIT);
hookAppMenuItem(SWT.ID_PREFERENCES, COMMAND_ID_PREFERENCES);
hookAppMenuItem(SWT.ID_ABOUT, COMMAND_ID_ABOUT);
}