1
0

Accepting request 1182986 from devel:languages:nodejs

- Remove disable-spellchecker.patch as spellchecker is meanwhile
  configurable via Settings -> General

OBS-URL: https://build.opensuse.org/request/show/1182986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=59
This commit is contained in:
Ana Guerrero 2024-06-24 18:51:43 +00:00 committed by Git OBS Bridge
commit 34994f06e4
3 changed files with 6 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,9 @@
-------------------------------------------------------------------
Fri Jun 21 18:08:13 UTC 2024 - Dominik Heidler <dheidler@suse.de>
- Remove disable-spellchecker.patch as spellchecker is meanwhile
configurable via Settings -> General
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler <dheidler@suse.de> 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 Patch1: 7za-path.patch
Patch2: cc-link-lib-no-static.patch Patch2: cc-link-lib-no-static.patch
Patch3: remove-fuses.patch Patch3: remove-fuses.patch
Patch4: disable-spellchecker.patch
BuildRequires: element-web = %{version} BuildRequires: element-web = %{version}
BuildRequires: app-builder BuildRequires: app-builder
BuildRequires: cargo BuildRequires: cargo