Detect and log message for Unity users

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2339 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2015-02-16 22:39:40 +00:00
parent 1a33f0e43c
commit b8877eaa78
1 changed files with 7 additions and 2 deletions

View File

@ -234,6 +234,11 @@ public final class DavGatewayTray {
);
if (!Settings.getBooleanProperty("davmail.server")) {
if ("Unity".equals(currentDesktop)) {
LOGGER.info("Detected Unity desktop, please follow instructions at " +
"http://davmail.sourceforge.net/linuxsetup.html to restore normal systray " +
"or run DavMail in server mode");
}
// first try to load SWT before with Java AWT
ClassLoader classloader = DavGatewayTray.class.getClassLoader();
try {