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:
parent
7f878bb232
commit
0b97602ff4
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user