Version 1.3.5.14; call system.exit in SwtAppleCommander#dispose for Mac OS X.

This commit is contained in:
John B. Matthews 2013-11-24 18:19:44 +00:00
parent 8e277d98e8
commit 9c98158778
2 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,7 @@ import com.webcodepro.applecommander.util.TextBundle;
* @author Rob Greene
*/
public class AppleCommander {
public static final String VERSION = "1.3.5.13"; //$NON-NLS-1$
public static final String VERSION = "1.3.5.14"; //$NON-NLS-1$
private static TextBundle textBundle = UiBundle.getInstance();
/**
* Launch AppleCommander.

View File

@ -118,7 +118,7 @@ public class SwtAppleCommander implements Listener {
GridLayout gridLayout = new GridLayout();
gridLayout.marginHeight = 5;
gridLayout.marginWidth = 5;
shell.setLayout(gridLayout);
shell.setLayout(gridLayout);
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.grabExcessHorizontalSpace = true;
@ -144,6 +144,9 @@ public class SwtAppleCommander implements Listener {
imageCanvas.dispose();
toolBar.dispose();
imageManager.dispose();
if (System.getProperty("os.name").startsWith("Mac OS X")) {
System.exit(0);
}
}
/**