1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-02-28 09:21:49 -05:00

Remove default trayIcon listener on OSX

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@596 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-06-24 12:24:33 +00:00
parent 7f878bb232
commit 0b97602ff4

View File

@ -23,6 +23,7 @@ public class OSXAwtGatewayTray extends AwtGatewayTray {
@Override
protected void createAndShowGUI() {
System.setProperty("apple.laf.useScreenMenuBar", "true");
trayIcon.removeActionListener(settingsListener);
super.createAndShowGUI();
try {
OSXAdapter.setAboutHandler(this, AwtGatewayTray.class.getDeclaredMethod("about", (Class[]) null));