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
|
||||
*/
|
||||
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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue