This commit is contained in:
crschnick 2024-04-18 23:03:47 +00:00
parent b43a3d6489
commit 363cb80f88
5 changed files with 6 additions and 9 deletions

View file

@ -55,7 +55,7 @@ public class AppProperties {
.orElse(UUID.randomUUID()); .orElse(UUID.randomUUID());
sentryUrl = System.getProperty("io.xpipe.app.sentryUrl"); sentryUrl = System.getProperty("io.xpipe.app.sentryUrl");
arch = System.getProperty("io.xpipe.app.arch"); arch = System.getProperty("io.xpipe.app.arch");
languages = Arrays.asList(System.getProperty("io.xpipe.app.languages").split(";")); languages = Arrays.stream(System.getProperty("io.xpipe.app.languages").split(";")).sorted().toList();
staging = XPipeInstallation.isStaging(); staging = XPipeInstallation.isStaging();
useVirtualThreads = Optional.ofNullable(System.getProperty("io.xpipe.app.useVirtualThreads")) useVirtualThreads = Optional.ofNullable(System.getProperty("io.xpipe.app.useVirtualThreads"))
.map(Boolean::parseBoolean) .map(Boolean::parseBoolean)

View file

@ -53,7 +53,6 @@ public class ChoiceComp<T> extends Comp<CompStructure<ComboBox<T>>> {
@Override @Override
public CompStructure<ComboBox<T>> createBase() { public CompStructure<ComboBox<T>> createBase() {
var cb = new ComboBox<T>(); var cb = new ComboBox<T>();
cb.setMaxWidth(2000);
cb.setConverter(new StringConverter<>() { cb.setConverter(new StringConverter<>() {
@Override @Override
public String toString(T object) { public String toString(T object) {

View file

@ -74,8 +74,7 @@ public class DesktopCommandStoreProvider implements DataStoreProvider {
entry, entry,
env, env,
DesktopEnvironmentStore.class, DesktopEnvironmentStore.class,
desktopStoreDataStoreEntryRef -> desktopStoreDataStoreEntryRef -> desktopStoreDataStoreEntryRef.getStore().supportsDesktopAccess(),
desktopStoreDataStoreEntryRef.getStore().supportsDesktopAccess(),
StoreViewState.get().getAllConnectionsCategory()), StoreViewState.get().getAllConnectionsCategory()),
env) env)
.nonNull() .nonNull()

View file

@ -127,8 +127,7 @@ public class DesktopEnvironmentStoreProvider implements DataStoreProvider {
.nonNull() .nonNull()
.nameAndDescription("desktopTerminal") .nameAndDescription("desktopTerminal")
.addComp( .addComp(
ChoiceComp.ofTranslatable( ChoiceComp.ofTranslatable(terminal, ExternalTerminalType.getTypes(st.getUsedOsType(), true, false), true).maxWidth(2000),
terminal, ExternalTerminalType.getTypes(st.getUsedOsType(), true, false), true),
terminal) terminal)
.nonNull() .nonNull()
.nameAndDescription("desktopShellDialect") .nameAndDescription("desktopShellDialect")

View file

@ -107,7 +107,7 @@ file=File
directory=Directory directory=Directory
symbolicLink=Symbolic link symbolicLink=Symbolic link
desktopEnvironment.displayName=Desktop environment desktopEnvironment.displayName=Desktop environment
desktopEnvironment.displayDescription=Create a reusable desktop environment configuration desktopEnvironment.displayDescription=Create a reusable remote desktop environment configuration
desktopHost=Desktop host desktopHost=Desktop host
desktopHostDescription=The desktop connection to use as a base desktopHostDescription=The desktop connection to use as a base
desktopShellDialect=Shell dialect desktopShellDialect=Shell dialect
@ -119,7 +119,7 @@ desktopInitScriptDescription=Init commands specific to this environment
desktopTerminal=Terminal application desktopTerminal=Terminal application
desktopTerminalDescription=The terminal to use on the desktop to start scripts in desktopTerminalDescription=The terminal to use on the desktop to start scripts in
desktopApplication.displayName=Desktop application desktopApplication.displayName=Desktop application
desktopApplication.displayDescription=Run an application on a desktop desktopApplication.displayDescription=Run an application on a remote desktop
desktopBase=Desktop desktopBase=Desktop
desktopBaseDescription=The desktop to run this application on desktopBaseDescription=The desktop to run this application on
desktopEnvironmentBase=Desktop environment desktopEnvironmentBase=Desktop environment
@ -129,7 +129,7 @@ desktopApplicationPathDescription=The path of the executable to run
desktopApplicationArguments=Arguments desktopApplicationArguments=Arguments
desktopApplicationArgumentsDescription=The optional arguments to pass to the application desktopApplicationArgumentsDescription=The optional arguments to pass to the application
desktopCommand.displayName=Desktop command desktopCommand.displayName=Desktop command
desktopCommand.displayDescription=Run a command in a desktop environment desktopCommand.displayDescription=Run a command in a remote desktop environment
desktopCommandScript=Commands desktopCommandScript=Commands
desktopCommandScriptDescription=The commands to run in the environment desktopCommandScriptDescription=The commands to run in the environment