From eeb98ece32a27ac393b25378862aebfa128baed72e2e65db56e2244c671e1aa7 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Fri, 21 Jun 2024 18:09:09 +0000 Subject: [PATCH 1/2] - Remove disable-spellchecker.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=66 --- disable-spellchecker.patch | 15 --------------- element-desktop.changes | 5 +++++ element-desktop.spec | 1 - 3 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 disable-spellchecker.patch diff --git a/disable-spellchecker.patch b/disable-spellchecker.patch deleted file mode 100644 index 1db7773..0000000 --- a/disable-spellchecker.patch +++ /dev/null @@ -1,15 +0,0 @@ -The spellchecker is not configurable - neither selecting one or more languages -or disabling it by the user. So let's drop it completely. - -diff -ru a/src/electron-main.ts b/src/electron-main.ts ---- element-desktop-1.11.69/src/electron-main.ts 2024-06-18 14:28:10.000000000 +0200 -+++ element-desktop-1.11.69/src/electron-main.ts 2024-06-21 13:06:59.581538335 +0200 -@@ -485,7 +485,7 @@ - - // Handle spellchecker - // For some reason spellCheckerEnabled isn't persisted, so we have to use the store here -- global.mainWindow.webContents.session.setSpellCheckerEnabled(global.store.get("spellCheckerEnabled", true)); -+ global.mainWindow.webContents.session.setSpellCheckerEnabled(false); - - // Create trayIcon icon - if (global.store.get("minimizeToTray", true)) tray.create(global.trayConfig); diff --git a/element-desktop.changes b/element-desktop.changes index 26a2002..6665dd9 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 21 18:08:13 UTC 2024 - Dominik Heidler + +- Remove disable-spellchecker.patch + ------------------------------------------------------------------- Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler diff --git a/element-desktop.spec b/element-desktop.spec index 67f50dd..16ff1f0 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -31,7 +31,6 @@ Patch0: hak-remove-devdependencies.patch Patch1: 7za-path.patch Patch2: cc-link-lib-no-static.patch Patch3: remove-fuses.patch -Patch4: disable-spellchecker.patch BuildRequires: element-web = %{version} BuildRequires: app-builder BuildRequires: cargo From 79c7caedba863395c5b0c974a643524fbc37c272f883a72cd0396618146fc1af Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Mon, 24 Jun 2024 09:07:47 +0000 Subject: [PATCH 2/2] - Remove disable-spellchecker.patch as spellchecker is meanwhile configurable via Settings -> General OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=67 --- element-desktop.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/element-desktop.changes b/element-desktop.changes index 6665dd9..1aca51b 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- Fri Jun 21 18:08:13 UTC 2024 - Dominik Heidler -- Remove disable-spellchecker.patch +- Remove disable-spellchecker.patch as spellchecker is meanwhile + configurable via Settings -> General ------------------------------------------------------------------- Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler