From 194f373c08943dc01cc10f3275abc7fa431ebeff Mon Sep 17 00:00:00 2001 From: infeo Date: Mon, 1 Oct 2018 23:12:51 +0200 Subject: [PATCH 01/41] changes spelling of the word dokany --- .../main/java/org/cryptomator/common/settings/VolumeImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/commons/src/main/java/org/cryptomator/common/settings/VolumeImpl.java b/main/commons/src/main/java/org/cryptomator/common/settings/VolumeImpl.java index 634f528f4..e475ff0d9 100644 --- a/main/commons/src/main/java/org/cryptomator/common/settings/VolumeImpl.java +++ b/main/commons/src/main/java/org/cryptomator/common/settings/VolumeImpl.java @@ -5,7 +5,7 @@ import java.util.Arrays; public enum VolumeImpl { WEBDAV("WebDAV"), FUSE("FUSE"), - DOKANY("DOKANY"); + DOKANY("Dokany"); private String displayName; From 8afa09007b5d57ee15d19de2fca82c83a3fec304 Mon Sep 17 00:00:00 2001 From: infeo Date: Thu, 4 Oct 2018 16:12:07 +0200 Subject: [PATCH 02/41] aligning webdav port number textfield --- .../ui/controllers/SettingsController.java | 10 ++----- .../org/cryptomator/ui/l10n/Localization.java | 2 +- main/ui/src/main/resources/fxml/settings.fxml | 26 +++++++++---------- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/controllers/SettingsController.java b/main/ui/src/main/java/org/cryptomator/ui/controllers/SettingsController.java index 958dceb5b..a080f4cf0 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/controllers/SettingsController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/controllers/SettingsController.java @@ -19,6 +19,7 @@ import com.google.common.base.Strings; import javafx.beans.binding.Bindings; import javafx.event.ActionEvent; import javafx.fxml.FXML; +import javafx.scene.Group; import javafx.scene.Parent; import javafx.scene.control.Button; import javafx.scene.control.CheckBox; @@ -55,10 +56,7 @@ public class SettingsController implements ViewController { private CheckBox checkForUpdatesCheckbox; @FXML - private GridPane webdavVolume; - - @FXML - private GridPane fuseVolume; + private Group webdavVolume; @FXML private Label portFieldLabel; @@ -116,10 +114,6 @@ public class SettingsController implements ViewController { prefGvfsSchemeLabel.setVisible(SystemUtils.IS_OS_LINUX); prefGvfsScheme.setVisible(SystemUtils.IS_OS_LINUX); - //FUSE - fuseVolume.visibleProperty().bind(volume.valueProperty().isEqualTo(VolumeImpl.FUSE)); - fuseVolume.managedProperty().bind(fuseVolume.visibleProperty()); - debugModeCheckbox.setSelected(settings.debugMode().get()); settings.checkForUpdates().bind(checkForUpdatesCheckbox.selectedProperty()); diff --git a/main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java b/main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java index 299392098..be8626d56 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java +++ b/main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java @@ -64,7 +64,7 @@ public class Localization extends ResourceBundle { LOG.debug("No localization found. Falling back to default language."); localizationBundle = this.fallback; } - this.localized = Objects.requireNonNull(localizationBundle); + this.localized = Objects.requireNonNull(this.fallback); } catch (IOException e) { throw new UncheckedIOException(e); } diff --git a/main/ui/src/main/resources/fxml/settings.fxml b/main/ui/src/main/resources/fxml/settings.fxml index 794181cf5..272f25860 100644 --- a/main/ui/src/main/resources/fxml/settings.fxml +++ b/main/ui/src/main/resources/fxml/settings.fxml @@ -19,6 +19,7 @@ +