mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* add window icons
This commit is contained in:
parent
bc18cc6489
commit
1a9da1c662
@ -31,6 +31,7 @@ public class GettingStartedStage {
|
|||||||
|
|
||||||
Platform.runLater(() -> {
|
Platform.runLater(() -> {
|
||||||
Stage stage = new Stage();
|
Stage stage = new Stage();
|
||||||
|
stage.setResizable(false);
|
||||||
|
|
||||||
if (isMacApp()) {
|
if (isMacApp()) {
|
||||||
// Mac OS X specific configuration
|
// Mac OS X specific configuration
|
||||||
@ -40,11 +41,9 @@ public class GettingStartedStage {
|
|||||||
// Windows / Linux specific configuration
|
// Windows / Linux specific configuration
|
||||||
stage.initStyle(StageStyle.UTILITY);
|
stage.initStyle(StageStyle.UTILITY);
|
||||||
stage.initModality(Modality.NONE);
|
stage.initModality(Modality.NONE);
|
||||||
|
stage.getIcons().addAll(ResourceManager.getApplicationIconURLs().stream().map((url) -> new Image(url.toString())).collect(Collectors.toList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
stage.getIcons().addAll(ResourceManager.getApplicationIconURLs().stream().map((url) -> new Image(url.toString())).collect(Collectors.toList()));
|
|
||||||
stage.setResizable(false);
|
|
||||||
|
|
||||||
GettingStartedStage view = new GettingStartedStage(stage);
|
GettingStartedStage view = new GettingStartedStage(stage);
|
||||||
view.show();
|
view.show();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user