new tray icon image for different icon sizes (e.g. linux)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5216 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent cc9f1e9dd9
commit 31c31e54e4

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@ -54,12 +54,12 @@ public final class yacyTray {
public static void init(final plasmaSwitchboard par_sb) {
sb = par_sb;
try {
final boolean trayIcon = sb.getConfig("trayIcon", "false").equals("true");
final boolean trayIcon = sb.getConfigBool("trayIcon", false);
if (trayIcon) {
System.setProperty("java.awt.headless", "false");
if(nativeTrayIcon.isSupported()) {
final String iconpath = sb.getRootPath().toString() + "/addon/YaCy_TrayIcon.gif".replace("/", File.separator);
final String iconpath = sb.getRootPath().toString() + "/addon/YaCy_TrayIcon.png".replace("/", File.separator);
ActionListener al = new ActionListener() {
public void actionPerformed(final ActionEvent e) {
trayClickAction();

Loading…
Cancel
Save