1
0

- Remove disable-spellchecker.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=66
This commit is contained in:
Dominik Heidler 2024-06-21 18:09:09 +00:00 committed by Git OBS Bridge
parent ab99f7c8f2
commit eeb98ece32
3 changed files with 5 additions and 16 deletions

View File

@ -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);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 21 18:08:13 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Remove disable-spellchecker.patch
-------------------------------------------------------------------
Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler <dheidler@suse.de>

View File

@ -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