diff options
author | fiaxh <git@lightrise.org> | 2023-02-09 12:30:02 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-02-09 12:35:50 +0100 |
commit | 9bf304095c1acd14e10c499585057695d413ef06 (patch) | |
tree | 1b7294cbfeaa46dcec9f009ac61cbc513fafbe20 /main/src/ui/settings_dialog.vala | |
parent | e554f90ff92d6818ca399983e47d54b89352d5a2 (diff) | |
download | dino-9bf304095c1acd14e10c499585057695d413ef06.tar.gz dino-9bf304095c1acd14e10c499585057695d413ef06.zip |
Remove spell check setting
As there is currently no spell check support for GTK4
Diffstat (limited to 'main/src/ui/settings_dialog.vala')
-rw-r--r-- | main/src/ui/settings_dialog.vala | 3 |
1 files changed, 0 insertions, 3 deletions
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; }); } } |