Author: jflesch
Date: 2007-07-29 18:53:22 +0000 (Sun, 29 Jul 2007)
New Revision: 14429
Modified:
trunk/apps/Thaw/src/thaw/gui/SysTrayIcon.java
trunk/apps/Thaw/src/thaw/i18n/source.thaw_fr.properties
trunk/apps/Thaw/src/thaw/i18n/thaw.properties
trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java
Log:
Add a warning in the TrayIcon description
Modified: trunk/apps/Thaw/src/thaw/gui/SysTrayIcon.java
===================================================================
--- trunk/apps/Thaw/src/thaw/gui/SysTrayIcon.java 2007-07-29 18:17:38 UTC
(rev 14428)
+++ trunk/apps/Thaw/src/thaw/gui/SysTrayIcon.java 2007-07-29 18:53:22 UTC
(rev 14429)
@@ -18,10 +18,10 @@
* <br/>
*/
public class SysTrayIcon {
- public final static int MSG_ERROR = 0;
- public final static int MSG_INFO = 1;
- public final static int MSG_NONE = 2;
- public final static int MSG_WARNING = 3;
+ public final static int MSG_ERROR = 0;
+ public final static int MSG_WARNING = 1;
+ public final static int MSG_NONE = 2;
+ public final static int MSG_INFO = 3;
private Object systemTray;
private Object trayIcon;
Modified: trunk/apps/Thaw/src/thaw/i18n/source.thaw_fr.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/source.thaw_fr.properties 2007-07-29
18:17:38 UTC (rev 14428)
+++ trunk/apps/Thaw/src/thaw/i18n/source.thaw_fr.properties 2007-07-29
18:53:22 UTC (rev 14429)
@@ -97,6 +97,10 @@
thaw.common.pleaseWait=Veuillez patienter ...
+thaw.common.unstable.linux=(May CRASH with Linux)
+
+
+
## Errors
thaw.error.idAlreadyUsed=Impossible de se connecter. Notre identifiant est
d?j? utilis? par un autre client connect? au noeud.
Modified: trunk/apps/Thaw/src/thaw/i18n/thaw.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw.properties 2007-07-29 18:17:38 UTC
(rev 14428)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw.properties 2007-07-29 18:53:22 UTC
(rev 14429)
@@ -98,6 +98,9 @@
thaw.common.pleaseWait=Please wait ...
+thaw.common.unstable.linux=(May CRASH with Linux)
+
+
## Errors
thaw.error.idAlreadyUsed=Unable to connect. Our Id is already used by another
client connected to the node.
Modified: trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java 2007-07-29 18:17:38 UTC
(rev 14428)
+++ trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java 2007-07-29 18:53:22 UTC
(rev 14429)
@@ -143,14 +143,14 @@
return;
int msgType = ((level == 0) ? SysTrayIcon.MSG_ERROR :
SysTrayIcon.MSG_WARNING);
- String str = ((src != null) ? src.getClass().getName() + ": " :
"") + line;
- popMessage(Logger.PREFIXES[level], str, msgType);
+ popMessage(Logger.PREFIXES[level], line, msgType);
}
public String getNameForUser() {
- return I18n.getMessage("thaw.plugin.trayIcon.pluginName");
+ return I18n.getMessage("thaw.plugin.trayIcon.pluginName")
+ + " "+I18n.getMessage("thaw.common.unstable.linux");
}
public javax.swing.ImageIcon getIcon() {