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

SWT:enable debug mode

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1487 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-10-01 21:24:52 +00:00
parent fa491fa7e2
commit cb5530fcea

View File

@ -18,17 +18,18 @@
*/
package davmail.ui.tray;
import davmail.Settings;
import davmail.BundleMessage;
import davmail.DavGateway;
import davmail.Settings;
import davmail.ui.AboutFrame;
import davmail.ui.SettingsFrame;
import org.apache.log4j.Logger;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.lf5.LF5Appender;
import org.apache.log4j.lf5.LogLevel;
import org.apache.log4j.lf5.viewer.LogBrokerMonitor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.DeviceData;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.*;
@ -183,7 +184,10 @@ public class SwtGatewayTray implements DavGatewayTrayInterface {
@Override
public void run() {
try {
display = new Display();
DeviceData data = new DeviceData();
data.debug = true;
display = new Display(data);
shell = new Shell(display);
final Tray tray = display.getSystemTray();