From 9bf304095c1acd14e10c499585057695d413ef06 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 9 Feb 2023 12:30:02 +0100 Subject: Remove spell check setting As there is currently no spell check support for GTK4 --- main/src/ui/settings_dialog.vala | 3 --- 1 file changed, 3 deletions(-) (limited to 'main/src/ui/settings_dialog.vala') diff --git a/main/src/ui/settings_dialog.vala b/main/src/ui/settings_dialog.vala index 068cc894..3635879c 100644 --- a/main/src/ui/settings_dialog.vala +++ b/main/src/ui/settings_dialog.vala @@ -9,7 +9,6 @@ class SettingsDialog : Adw.PreferencesWindow { [GtkChild] private unowned Switch marker_switch; [GtkChild] private unowned Switch notification_switch; [GtkChild] private unowned Switch emoji_switch; - [GtkChild] private unowned Switch check_spelling_switch; Dino.Entities.Settings settings = Dino.Application.get_default().settings; @@ -20,13 +19,11 @@ class SettingsDialog : Adw.PreferencesWindow { marker_switch.active = settings.send_marker; notification_switch.active = settings.notifications; emoji_switch.active = settings.convert_utf8_smileys; - check_spelling_switch.active = settings.check_spelling; typing_switch.notify["active"].connect(() => { settings.send_typing = typing_switch.active; } ); marker_switch.notify["active"].connect(() => { settings.send_marker = marker_switch.active; } ); notification_switch.notify["active"].connect(() => { settings.notifications = notification_switch.active; } ); emoji_switch.notify["active"].connect(() => { settings.convert_utf8_smileys = emoji_switch.active; }); - check_spelling_switch.notify["active"].connect(() => { settings.check_spelling = check_spelling_switch.active; }); } } -- cgit v1.2.3-70-g09d2