mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-21 17:29:55 +00:00
Setting app name in menu.
This commit is contained in:
parent
f0b88ee676
commit
ce0db8c2ee
@ -37,9 +37,9 @@ import org.eclipse.swt.widgets.ToolBar;
|
|||||||
import org.eclipse.swt.widgets.ToolItem;
|
import org.eclipse.swt.widgets.ToolItem;
|
||||||
|
|
||||||
import com.webcodepro.applecommander.storage.Disk;
|
import com.webcodepro.applecommander.storage.Disk;
|
||||||
import com.webcodepro.applecommander.storage.FormattedDisk;
|
|
||||||
import com.webcodepro.applecommander.storage.Disk.FilenameFilter;
|
import com.webcodepro.applecommander.storage.Disk.FilenameFilter;
|
||||||
import com.webcodepro.applecommander.storage.DiskUnrecognizedException;
|
import com.webcodepro.applecommander.storage.DiskUnrecognizedException;
|
||||||
|
import com.webcodepro.applecommander.storage.FormattedDisk;
|
||||||
import com.webcodepro.applecommander.ui.AppleCommander;
|
import com.webcodepro.applecommander.ui.AppleCommander;
|
||||||
import com.webcodepro.applecommander.ui.UiBundle;
|
import com.webcodepro.applecommander.ui.UiBundle;
|
||||||
import com.webcodepro.applecommander.ui.UserPreferences;
|
import com.webcodepro.applecommander.ui.UserPreferences;
|
||||||
@ -75,6 +75,8 @@ public class SwtAppleCommander implements Listener {
|
|||||||
* Launch SwtAppleCommander.
|
* Launch SwtAppleCommander.
|
||||||
*/
|
*/
|
||||||
public void launch(String[] args) {
|
public void launch(String[] args) {
|
||||||
|
Display.setAppName("AppleCommander");
|
||||||
|
Display.setAppVersion(AppleCommander.VERSION);
|
||||||
Display display = new Display();
|
Display display = new Display();
|
||||||
display.asyncExec(() -> {
|
display.asyncExec(() -> {
|
||||||
for (String arg : args) {
|
for (String arg : args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user