[gspell: 8/8] Entry: connect to all GspellChecker signals to recheck all entry
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell: 8/8] Entry: connect to all GspellChecker signals to recheck all entry
- Date: Sat, 26 Nov 2016 17:10:45 +0000 (UTC)
commit 508201cb39761ac3123a1ce516c53fe732167ea1
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Nov 26 18:04:42 2016 +0100
Entry: connect to all GspellChecker signals to recheck all entry
gspell/gspell-entry.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gspell/gspell-entry.c b/gspell/gspell-entry.c
index 392fbb7..3dfeb04 100644
--- a/gspell/gspell-entry.c
+++ b/gspell/gspell-entry.c
@@ -339,6 +339,21 @@ set_checker (GspellEntry *gspell_entry,
G_CALLBACK (emit_changed_signal),
gspell_entry);
+ g_signal_connect_swapped (gspell_entry->checker,
+ "session-cleared",
+ G_CALLBACK (emit_changed_signal),
+ gspell_entry);
+
+ g_signal_connect_swapped (gspell_entry->checker,
+ "word-added-to-personal",
+ G_CALLBACK (emit_changed_signal),
+ gspell_entry);
+
+ g_signal_connect_swapped (gspell_entry->checker,
+ "word-added-to-session",
+ G_CALLBACK (emit_changed_signal),
+ gspell_entry);
+
g_object_ref (gspell_entry->checker);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]