mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-12 04:15:08 -05: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:
parent
0b97602ff4
commit
9635714b75
@ -29,8 +29,9 @@ public class AwtGatewayTray implements DavGatewayTrayInterface {
|
|||||||
|
|
||||||
static AboutFrame aboutFrame;
|
static AboutFrame aboutFrame;
|
||||||
static SettingsFrame settingsFrame;
|
static SettingsFrame settingsFrame;
|
||||||
|
ActionListener settingsListener;
|
||||||
|
|
||||||
private static TrayIcon trayIcon;
|
protected static TrayIcon trayIcon;
|
||||||
private static Image image;
|
private static Image image;
|
||||||
private static Image image2;
|
private static Image image2;
|
||||||
private static Image inactiveImage;
|
private static Image inactiveImage;
|
||||||
@ -154,7 +155,7 @@ public class AwtGatewayTray implements DavGatewayTrayInterface {
|
|||||||
|
|
||||||
settingsFrame = new SettingsFrame();
|
settingsFrame = new SettingsFrame();
|
||||||
// create an action settingsListener to listen for settings action executed on the tray icon
|
// 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) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
preferences();
|
preferences();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user