AnsweredAssumed Answered

[Patch] System Tray Tool Tip Text

Question asked by WhiteKnight on Jun 30, 2009
Latest reply on Aug 18, 2009 by wroot

I assume the tool tip name shouldn't be hard code, but should instead be Default.APPLICATION_NAME or SparkRes.APP_NAME:

 

Index: C:/Trevor/Spark/src/java/org/jivesoftware/sparkimpl/plugin/systray/SysTrayPlugi n.java

===================================================================

--- C:/Trevor/Spark/src/java/org/jivesoftware/sparkimpl/plugin/systray/SysTrayPlugi n.java (revision 11081)

+++ C:/Trevor/Spark/src/java/org/jivesoftware/sparkimpl/plugin/systray/SysTrayPlugi n.java (working copy)

@@ -137,7 +137,7 @@

 

 

try {

- trayIcon = new TrayIcon(availableIcon.getImage(), "Spark", null);

+ trayIcon = new TrayIcon(availableIcon.getImage(), Default.getString( Default.APPLICATION_NAME ), null);

trayIcon.setImageAutoSize(true);

 

trayIcon.addMouseListener(new MouseListener() {

Outcomes