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:
parent
df4c4867cb
commit
94e5ab2f0c
@ -39,6 +39,7 @@ public class OSXFrameGatewayTray extends FrameGatewayTray {
|
|||||||
try {
|
try {
|
||||||
OSXAdapter.setAboutHandler(this, FrameGatewayTray.class.getDeclaredMethod("about", (Class[]) null));
|
OSXAdapter.setAboutHandler(this, FrameGatewayTray.class.getDeclaredMethod("about", (Class[]) null));
|
||||||
OSXAdapter.setPreferencesHandler(this, FrameGatewayTray.class.getDeclaredMethod("preferences", (Class[]) null));
|
OSXAdapter.setPreferencesHandler(this, FrameGatewayTray.class.getDeclaredMethod("preferences", (Class[]) null));
|
||||||
|
OSXAdapter.setQuitHandler(this, OSXFrameGatewayTray.class.getDeclaredMethod("quit", (Class[]) null));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
DavGatewayTray.error("Error while loading the OSXAdapter", e);
|
DavGatewayTray.error("Error while loading the OSXAdapter", e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user