r2826 - trunk/src/main/java/org/chorem/jtimer/ui/systray
Author: echatellier Date: 2012-03-15 11:46:06 +0100 (Thu, 15 Mar 2012) New Revision: 2826 Url: http://chorem.org/repositories/revision/jtimer/2826 Log: #486: Add close to systray option Modified: trunk/src/main/java/org/chorem/jtimer/ui/systray/SystrayManager.java Modified: trunk/src/main/java/org/chorem/jtimer/ui/systray/SystrayManager.java =================================================================== --- trunk/src/main/java/org/chorem/jtimer/ui/systray/SystrayManager.java 2012-03-15 10:41:39 UTC (rev 2825) +++ trunk/src/main/java/org/chorem/jtimer/ui/systray/SystrayManager.java 2012-03-15 10:46:06 UTC (rev 2826) @@ -504,7 +504,7 @@ public void windowClosing(WindowEvent e) { // tray available only if trayIcon != null - if (trayIcon != null) { + if (trayIcon != null && JTimer.config.isCloseToSystray()) { // hide window (without exiting) parent.hide(); showItem.setText(resourceMap.getString("showMenuText"));
participants (1)
-
echatellier@users.chorem.org