From 94e5ab2f0c9f92ebf26ef74935a302edb9ac030b Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 18 Feb 2009 17:31:35 +0000 Subject: [PATCH] OSX: register Quit menu handler git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@374 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/ui/OSXFrameGatewayTray.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/davmail/ui/OSXFrameGatewayTray.java b/src/java/davmail/ui/OSXFrameGatewayTray.java index c4b1919e..7a9d7222 100644 --- a/src/java/davmail/ui/OSXFrameGatewayTray.java +++ b/src/java/davmail/ui/OSXFrameGatewayTray.java @@ -39,6 +39,7 @@ public class OSXFrameGatewayTray extends FrameGatewayTray { try { OSXAdapter.setAboutHandler(this, FrameGatewayTray.class.getDeclaredMethod("about", (Class[]) null)); OSXAdapter.setPreferencesHandler(this, FrameGatewayTray.class.getDeclaredMethod("preferences", (Class[]) null)); + OSXAdapter.setQuitHandler(this, OSXFrameGatewayTray.class.getDeclaredMethod("quit", (Class[]) null)); } catch (Exception e) { DavGatewayTray.error("Error while loading the OSXAdapter", e); }