mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-05-29 02:41:30 +00:00
Version 1.3.5.14; call system.exit in SwtAppleCommander#dispose for Mac OS X.
This commit is contained in:
parent
8e277d98e8
commit
9c98158778
|
@ -40,7 +40,7 @@ import com.webcodepro.applecommander.util.TextBundle;
|
||||||
* @author Rob Greene
|
* @author Rob Greene
|
||||||
*/
|
*/
|
||||||
public class AppleCommander {
|
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();
|
private static TextBundle textBundle = UiBundle.getInstance();
|
||||||
/**
|
/**
|
||||||
* Launch AppleCommander.
|
* Launch AppleCommander.
|
||||||
|
|
|
@ -118,7 +118,7 @@ public class SwtAppleCommander implements Listener {
|
||||||
GridLayout gridLayout = new GridLayout();
|
GridLayout gridLayout = new GridLayout();
|
||||||
gridLayout.marginHeight = 5;
|
gridLayout.marginHeight = 5;
|
||||||
gridLayout.marginWidth = 5;
|
gridLayout.marginWidth = 5;
|
||||||
shell.setLayout(gridLayout);
|
shell.setLayout(gridLayout);
|
||||||
|
|
||||||
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
|
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
|
||||||
gridData.grabExcessHorizontalSpace = true;
|
gridData.grabExcessHorizontalSpace = true;
|
||||||
|
@ -144,6 +144,9 @@ public class SwtAppleCommander implements Listener {
|
||||||
imageCanvas.dispose();
|
imageCanvas.dispose();
|
||||||
toolBar.dispose();
|
toolBar.dispose();
|
||||||
imageManager.dispose();
|
imageManager.dispose();
|
||||||
|
if (System.getProperty("os.name").startsWith("Mac OS X")) {
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user