Skip to content

Commit

Permalink
fixes #108
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Stenzel committed Feb 28, 2016
1 parent 7b68c42 commit be4dab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/ui/src/main/java/org/cryptomator/ui/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
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 {
Expand Down Expand Up @@ -69,6 +70,7 @@ public void start(final Stage primaryStage) throws IOException {
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);
Expand Down
Binary file added main/ui/src/main/resources/window_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be4dab2

Please sign in to comment.