1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

OSX: Avoid sending null message to Growl

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1634 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-03-01 10:14:24 +00:00
parent d4942165b4
commit 5012798192

View File

@ -105,7 +105,7 @@ public class OSXAwtGatewayTray extends AwtGatewayTray {
icon = UIManager.getIcon("OptionPane.errorIcon"); icon = UIManager.getIcon("OptionPane.errorIcon");
} }
if (icon != null) { if (icon != null && message != null) {
try { try {
String title = BundleMessage.format("UI_DAVMAIL_GATEWAY"); String title = BundleMessage.format("UI_DAVMAIL_GATEWAY");
Growl growl = GrowlUtils.getGrowlInstance("DavMail"); Growl growl = GrowlUtils.getGrowlInstance("DavMail");