[gnome-subtitles] Don't detach the spellchecker on quit - apparently the lib does it by itself
- From: Pedro Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Don't detach the spellchecker on quit - apparently the lib does it by itself
- Date: Sat, 30 Jan 2021 21:50:12 +0000 (UTC)
commit 16e74538fe568401539ef3c9cc576aa76fa9ad1f
Author: Pedro Castro <pedro gnomesubtitles org>
Date: Sat Jan 30 21:17:24 2021 +0000
Don't detach the spellchecker on quit - apparently the lib does it by itself
src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
b/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
index 1b4d0f4..101bc92 100644
--- a/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
+++ b/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
@@ -325,9 +325,9 @@ public abstract class SubtitleEditTextView {
EmitToggleOverwrite();
}
- private void OnDestroyed (object o, EventArgs args) {
- spellChecker.Disable();
- }
+ //private void OnDestroy (object o, EventArgs args) {
+ // spellChecker.Disable();
+ //}
[GLib.ConnectBefore]
private void OnKeyPressed (object o, KeyPressEventArgs args) {
@@ -364,7 +364,7 @@ public abstract class SubtitleEditTextView {
this.textView.FocusOutEvent += OnFocusOut;
this.textView.KeyPressEvent += OnKeyPressed;
this.textView.ToggleOverwrite += OnToggleOverwrite;
- this.textView.Destroyed += OnDestroyed;
+ //this.textView.Destroyed += OnDestroy;
}
private void EmitToggleOverwrite () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]