1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Remove default trayIcon listener on OSX

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

View File

@ -29,8 +29,9 @@ public class AwtGatewayTray implements DavGatewayTrayInterface {
static AboutFrame aboutFrame;
static SettingsFrame settingsFrame;
ActionListener settingsListener;
private static TrayIcon trayIcon;
protected static TrayIcon trayIcon;
private static Image image;
private static Image image2;
private static Image inactiveImage;
@ -154,7 +155,7 @@ public class AwtGatewayTray implements DavGatewayTrayInterface {
settingsFrame = new SettingsFrame();
// create an action settingsListener to listen for settings action executed on the tray icon
ActionListener settingsListener = new ActionListener() {
settingsListener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
preferences();
}