mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
OSX: Avoid sending empty message to Growl
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1655 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
b77daa832e
commit
5fd5ee8506
@ -105,7 +105,7 @@ public class OSXAwtGatewayTray extends AwtGatewayTray {
|
|||||||
icon = UIManager.getIcon("OptionPane.errorIcon");
|
icon = UIManager.getIcon("OptionPane.errorIcon");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (icon != null && message != null) {
|
if (icon != null && message != null && message.length() > 0) {
|
||||||
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user