mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
This commit is contained in:
@@ -352,7 +352,8 @@ div.trust-me > div:nth-child(3) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.trust-me > div:nth-child(4) {
|
||||
div.trust-me > div:nth-child(4),
|
||||
div.trust-me > div:nth-child(5) {
|
||||
margin-top: 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -584,6 +584,7 @@ class FixWayland: Reactor.Component {
|
||||
<div>{translate('Warning')}</div>
|
||||
<div>{translate('Login screen using Wayland is not supported')}</div>
|
||||
<div #fix-wayland .link>{translate('Fix it')}</div>
|
||||
<div #help-me .link>{translate('Help')}</div>
|
||||
<div>({translate('Reboot required')})</div>
|
||||
</div>;
|
||||
}
|
||||
@@ -592,6 +593,10 @@ class FixWayland: Reactor.Component {
|
||||
handler.fix_login_wayland();
|
||||
app.update();
|
||||
}
|
||||
|
||||
event click $(#help-me) {
|
||||
handler.open_url(translate("doc_fix_wayland"));
|
||||
}
|
||||
}
|
||||
|
||||
class ModifyDefaultLogin: Reactor.Component {
|
||||
@@ -600,16 +605,22 @@ class ModifyDefaultLogin: Reactor.Component {
|
||||
<div>{translate('Warning')}</div>
|
||||
<div>{translate('Current Wayland display server is not supported')}</div>
|
||||
<div #modify-default-login .link>{translate('Fix it')}</div>
|
||||
<div #help-me .link>{translate('Help')}</div>
|
||||
<div>({translate('Reboot required')})</div>
|
||||
</div>;
|
||||
}
|
||||
|
||||
event click $(#modify-default-login) {
|
||||
if (var r = handler.modify_default_login()) {
|
||||
msgbox("custom-error", "Error", r);
|
||||
// without handler, will fail, fucking stupid sciter
|
||||
handler.msgbox("custom-error", "Error", r);
|
||||
}
|
||||
app.update();
|
||||
}
|
||||
|
||||
event click $(#help-me) {
|
||||
handler.open_url(translate("doc_fix_wayland"));
|
||||
}
|
||||
}
|
||||
|
||||
function watch_trust() {
|
||||
|
||||
Reference in New Issue
Block a user