mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-18 05:06:02 +00:00
fixes #108
This commit is contained in:
@@ -28,6 +28,7 @@ import org.slf4j.LoggerFactory;
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.image.Image;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public class MainApplication extends Application {
|
||||
@@ -69,6 +70,7 @@ public class MainApplication extends Application {
|
||||
final ResourceBundle rb = ResourceBundle.getBundle("localization");
|
||||
primaryStage.setTitle(rb.getString("app.name"));
|
||||
primaryStage.setResizable(false);
|
||||
primaryStage.getIcons().add(new Image(MainApplication.class.getResourceAsStream("/window_icon.png")));
|
||||
primaryStage.show();
|
||||
|
||||
ActiveWindowStyleSupport.startObservingFocus(primaryStage);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 564 B |
Reference in New Issue
Block a user