aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/systray/jdic
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/systray/jdic')
-rw-r--r--src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java b/src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java
index 15d08e4..39ea1bb 100644
--- a/src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java
+++ b/src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java
@@ -162,9 +162,15 @@ public class SystrayServiceJdicImpl
envelopeIcon = Resources.getImage("messageIcon");
}
- // default to set offline , if any protocols become
- // online will set it to online
- currentIcon = logoIconOffline;
+ if (!osName.startsWith("Mac OS X"))
+ {
+ // default to set offline , if any protocols become
+ // online will set it to online
+ currentIcon = logoIconOffline;
+ }
+ else
+ currentIcon = logoIcon;
+
trayIcon = new TrayIcon(currentIcon,
Resources.getApplicationString("applicationName"),
menu);
@@ -455,13 +461,19 @@ public class SystrayServiceJdicImpl
}
else if (imageType == SystrayService.SC_IMG_AWAY_TYPE)
{
- this.trayIcon.setIcon(logoIconAway);
- this.currentIcon = logoIconAway;
+ if (!osName.startsWith("Mac OS X"))
+ {
+ this.trayIcon.setIcon(logoIconAway);
+ this.currentIcon = logoIconAway;
+ }
}
else if (imageType == SystrayService.SC_IMG_FFC_TYPE)
{
- this.trayIcon.setIcon(logoIconFFC);
+ if (!osName.startsWith("Mac OS X"))
+ {
+ this.trayIcon.setIcon(logoIconFFC);
this.currentIcon = logoIconFFC;
+ }
}
else if (imageType == SystrayService.ENVELOPE_IMG_TYPE)
{