mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 13:51:23 +00:00
Various fixes
This commit is contained in:
parent
bed38d425f
commit
9c3eaa479c
|
@ -146,7 +146,10 @@ public class BrowserWelcomeComp extends SimpleComp {
|
|||
view.createRegion(),
|
||||
() -> {
|
||||
ThreadHelper.runAsync(() -> {
|
||||
model.restoreStateAsync(e, disable);
|
||||
var storageEntry = DataStorage.get().getStoreEntryIfPresent(e.getUuid());
|
||||
if (storageEntry.isPresent()) {
|
||||
model.openFileSystemAsync(storageEntry.get().ref(), null, disable);
|
||||
}
|
||||
});
|
||||
})
|
||||
.minWidth(250)
|
||||
|
|
|
@ -65,7 +65,7 @@ public class AppAvCheck {
|
|||
alert.getDialogPane().setPadding(new Insets(15));
|
||||
});
|
||||
|
||||
alert.getButtonTypes().add(new ButtonType(AppI18n.get("gotIt"), ButtonBar.ButtonData.OK_DONE));
|
||||
alert.getButtonTypes().add(new ButtonType(AppI18n.get("ok"), ButtonBar.ButtonData.OK_DONE));
|
||||
});
|
||||
a.filter(b -> b.getButtonData().isDefaultButton())
|
||||
.ifPresentOrElse(buttonType -> {}, () -> OperationMode.halt(1));
|
||||
|
|
|
@ -49,7 +49,7 @@ public class UpdateChangelogAlert {
|
|||
var markdown = new MarkdownComp(update.getRawDescription(), s -> " " + s).createRegion();
|
||||
alert.getDialogPane().setContent(markdown);
|
||||
|
||||
alert.getButtonTypes().add(new ButtonType(AppI18n.get("gotIt"), ButtonBar.ButtonData.OK_DONE));
|
||||
alert.getButtonTypes().add(new ButtonType(AppI18n.get("ok"), ButtonBar.ButtonData.OK_DONE));
|
||||
((Stage) alert.getDialogPane().getScene().getWindow()).setAlwaysOnTop(true);
|
||||
},
|
||||
r -> r.filter(b -> b.getButtonData().isDefaultButton()).ifPresent(t -> {}));
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
|
||||
/* Section */
|
||||
|
||||
.store-entry-section-comp .separator {
|
||||
.store-entry-section-comp > .separator {
|
||||
-fx-padding: 0 12px 0 35px;
|
||||
-fx-border-insets: 0px;
|
||||
}
|
||||
|
@ -103,7 +103,7 @@
|
|||
-fx-padding: 5px 0 5px 25px;
|
||||
}
|
||||
|
||||
.store-entry-section-comp .separator .line {
|
||||
.store-entry-section-comp > .separator .line {
|
||||
-fx-padding: 0;
|
||||
-fx-border-insets: 0px;
|
||||
-fx-background-color: -color-border-subtle;
|
||||
|
@ -111,7 +111,7 @@
|
|||
}
|
||||
|
||||
.root:pretty .top > .store-entry-section-comp {
|
||||
-fx-effect: dropshadow(three-pass-box, -color-shadow-default, 2px, 0.5, 0, 1);
|
||||
-fx-effect: dropshadow(three-pass-box, -color-shadow-default, 2, 0.5, 0, 1);
|
||||
}
|
||||
|
||||
.store-entry-section-comp:root {
|
||||
|
|
10
core/src/main/java/io/xpipe/core/store/Session.java
Normal file
10
core/src/main/java/io/xpipe/core/store/Session.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package io.xpipe.core.store;
|
||||
|
||||
public abstract class Session {
|
||||
|
||||
public abstract boolean isRunning();
|
||||
|
||||
public abstract void start() throws Exception;
|
||||
|
||||
public abstract void stop() throws Exception;
|
||||
}
|
|
@ -1,17 +1,8 @@
|
|||
package io.xpipe.core.store;
|
||||
|
||||
public interface SingletonSessionStore<T extends SingletonSessionStore.Session>
|
||||
public interface SingletonSessionStore<T extends Session>
|
||||
extends ExpandedLifecycleStore, InternalCacheDataStore {
|
||||
|
||||
abstract class Session {
|
||||
|
||||
public abstract boolean isRunning();
|
||||
|
||||
public abstract void start() throws Exception;
|
||||
|
||||
public abstract void stop() throws Exception;
|
||||
}
|
||||
|
||||
@Override
|
||||
default void finalizeValidate() throws Exception {
|
||||
stopSessionIfNeeded();
|
||||
|
|
|
@ -233,7 +233,6 @@ whatsNew=Hvad er nyt i version $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=En note om antivirusprogrammer
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Velkommen til XPipe
|
||||
gotIt=Fik det
|
||||
eula=Slutbrugerlicensaftale
|
||||
news=Nyheder
|
||||
introduction=Introduktion
|
||||
|
|
|
@ -230,8 +230,6 @@ whatsNew=Was ist neu in der Version $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Ein Hinweis auf Antivirenprogramme
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Willkommen bei XPipe
|
||||
#custom
|
||||
gotIt=Ok
|
||||
eula=Endbenutzer-Lizenzvertrag
|
||||
news=Nachrichten
|
||||
introduction=Einführung
|
||||
|
|
|
@ -229,8 +229,6 @@ whatsNew=What's new in version $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=A note on Antivirus programs
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Welcome to XPipe
|
||||
#context: understood
|
||||
gotIt=Got It
|
||||
eula=End User License Agreement
|
||||
news=News
|
||||
introduction=Introduction
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=Novedades de la versión $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Una nota sobre los programas antivirus
|
||||
updateChangelogAlertTitle=Registro de cambios
|
||||
greetingsAlertTitle=Bienvenido a XPipe
|
||||
gotIt=Entendido
|
||||
eula=Acuerdo de licencia de usuario final
|
||||
news=Noticias
|
||||
introduction=Introducción
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=Nouveautés de la version $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Une note sur les programmes antivirus
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Bienvenue à XPipe
|
||||
gotIt=Compris
|
||||
eula=Contrat de licence de l'utilisateur final
|
||||
news=Nouvelles
|
||||
introduction=Introduction
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=Cosa c'è di nuovo nella versione $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Una nota sui programmi antivirus
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Benvenuto in XPipe
|
||||
gotIt=Capito
|
||||
eula=Contratto di licenza con l'utente finale
|
||||
news=Notizie
|
||||
introduction=Introduzione
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=バージョン$VERSION$ ($DATE$) の新機能
|
|||
antivirusNoticeTitle=アンチウイルスプログラムについて
|
||||
updateChangelogAlertTitle=変更履歴
|
||||
greetingsAlertTitle=XPipeへようこそ
|
||||
gotIt=理解した
|
||||
eula=エンドユーザー使用許諾契約書
|
||||
news=ニュース
|
||||
introduction=はじめに
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=Wat is er nieuw in versie $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Een opmerking over antivirusprogramma's
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Welkom bij XPipe
|
||||
gotIt=Gekregen
|
||||
eula=Licentieovereenkomst voor eindgebruikers
|
||||
news=Nieuws
|
||||
introduction=Inleiding
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=O que há de novo na versão $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Uma nota sobre programas antivírus
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Bem-vindo ao XPipe
|
||||
gotIt=Percebeste
|
||||
eula=Contrato de licença de utilizador final
|
||||
news=Novidades
|
||||
introduction=Introdução
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=Что нового в версии $VERSION$ ($DATE$)
|
|||
antivirusNoticeTitle=Заметка об антивирусных программах
|
||||
updateChangelogAlertTitle=Changelog
|
||||
greetingsAlertTitle=Добро пожаловать в XPipe
|
||||
gotIt=Понял
|
||||
eula=Лицензионное соглашение с конечным пользователем
|
||||
news=Новости
|
||||
introduction=Введение
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=$VERSION$ sürümündeki yenilikler ($DATE$)
|
|||
antivirusNoticeTitle=Antivirüs programları hakkında bir not
|
||||
updateChangelogAlertTitle=Değişiklik Günlüğü
|
||||
greetingsAlertTitle=XPipe'a Hoş Geldiniz
|
||||
gotIt=Anladım
|
||||
eula=Son Kullanıcı Lisans Sözleşmesi
|
||||
news=Haberler
|
||||
introduction=Giriş
|
||||
|
|
|
@ -221,7 +221,6 @@ whatsNew=$VERSION$ ($DATE$) 中的新功能
|
|||
antivirusNoticeTitle=关于杀毒软件的说明
|
||||
updateChangelogAlertTitle=更新日志
|
||||
greetingsAlertTitle=欢迎访问 XPipe
|
||||
gotIt=明白了
|
||||
eula=最终用户许可协议
|
||||
news=新闻
|
||||
introduction=简介
|
||||
|
|
Loading…
Reference in a new issue