From 5012798192fb9d0a60d63fdedac021514ed2f429 Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 1 Mar 2011 10:14:24 +0000 Subject: [PATCH] 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 --- src/java/davmail/ui/tray/OSXAwtGatewayTray.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/ui/tray/OSXAwtGatewayTray.java b/src/java/davmail/ui/tray/OSXAwtGatewayTray.java index 02f66b28..5b58c625 100644 --- a/src/java/davmail/ui/tray/OSXAwtGatewayTray.java +++ b/src/java/davmail/ui/tray/OSXAwtGatewayTray.java @@ -105,7 +105,7 @@ public class OSXAwtGatewayTray extends AwtGatewayTray { icon = UIManager.getIcon("OptionPane.errorIcon"); } - if (icon != null) { + if (icon != null && message != null) { try { String title = BundleMessage.format("UI_DAVMAIL_GATEWAY"); Growl growl = GrowlUtils.getGrowlInstance("DavMail");