1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

OSX: register Quit menu handler

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@374 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-18 17:31:35 +00:00
parent df4c4867cb
commit 94e5ab2f0c

View File

@ -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);
}