From e82f040d6d89597f2ba4897ccb82fd1b794ac1e0 Mon Sep 17 00:00:00 2001 From: open-trade Date: Fri, 7 Jan 2022 13:59:21 +0800 Subject: [PATCH] kick start international keyboard --- Cargo.lock | 10 ++++++++++ Cargo.toml | 1 + src/ui/ab.tis | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d8c112fd6..22dfdc6f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3091,6 +3091,7 @@ dependencies = [ "sha2", "sys-locale", "systray", + "tigervnc", "uuid", "whoami", "winapi 0.3.9", @@ -3603,6 +3604,15 @@ dependencies = [ "weezl", ] +[[package]] +name = "tigervnc" +version = "1.0.0" +source = "git+https://github.com/open-trade/tigervnc#2007dbb0f47ac72069a529182ce73c954ab70d38" +dependencies = [ + "cc", + "cfg-if 1.0.0", +] + [[package]] name = "time" version = "0.3.5" diff --git a/Cargo.toml b/Cargo.toml index d5029532f..69b3673ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,6 +54,7 @@ sciter-rs = { git = "https://github.com/open-trade/rust-sciter", branch = "dyn" ctrlc = "3.2" arboard = "2.0" clipboard-master = "3.1" +tigervnc = { git = "https://github.com/open-trade/tigervnc" } [target.'cfg(target_os = "windows")'.dependencies] systray = { git = "https://github.com/liyue201/systray-rs" } diff --git a/src/ui/ab.tis b/src/ui/ab.tis index 22dc17f3d..84cfcef4f 100644 --- a/src/ui/ab.tis +++ b/src/ui/ab.tis @@ -95,7 +95,7 @@ class SessionList: Reactor.Component { function render() { var sessions = this.getSessions(); if (sessions.length == 0) { - return
{translate("Empty")}
; + return
{translate("Empty")}
; } var me = this; sessions = sessions.map(function(x) { return me.getSession(x); });