فهرست منبع

Removed copy WebDAV URL button

Sebastian Stenzel 7 سال پیش
والد
کامیت
b0ab46b7b6

+ 0 - 8
main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockedController.java

@@ -241,14 +241,6 @@ public class UnlockedController implements ViewController {
 		}).run();
 	}
 
-	@FXML
-	private void didClickCopyUrl(ActionEvent event) {
-		ClipboardContent clipboardContent = new ClipboardContent();
-		clipboardContent.putUrl(vault.get().getFilesystemRootUrl());
-		clipboardContent.putString(vault.get().getFilesystemRootUrl());
-		Clipboard.getSystemClipboard().setContent(clipboardContent);
-	}
-
 	// ****************************************
 	// IO Graph
 	// ****************************************

+ 0 - 3
main/ui/src/main/resources/fxml/unlocked.fxml

@@ -37,9 +37,6 @@
 				<MenuItem fx:id="revealVaultMenuItem" text="%unlocked.moreOptions.reveal" onAction="#didClickRevealVault">
 					<graphic><Label text="&#xf133;" styleClass="ionicons"/></graphic>
 				</MenuItem>
-				<MenuItem text="%unlocked.moreOptions.copyUrl" onAction="#didClickCopyUrl">
-					<graphic><Label text="&#xf376;" styleClass="ionicons"/></graphic>
-				</MenuItem>
 			</items>
 		</ContextMenu>
 	</fx:define>

+ 0 - 1
main/ui/src/main/resources/localization/en.txt

@@ -103,7 +103,6 @@ unlocked.button.lock=Lock Vault
 unlocked.moreOptions.mount=Mount Drive
 unlocked.moreOptions.unmount=Eject Drive
 unlocked.moreOptions.reveal=Reveal Drive
-unlocked.moreOptions.copyUrl=Copy Filesystem URL
 unlocked.label.mountFailed=Connecting drive failed
 unlocked.label.revealFailed=Command failed
 unlocked.label.unmountFailed=Ejecting drive failed