[latexila] MainWindowTools: add FIXME comment to correctly update action state
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] MainWindowTools: add FIXME comment to correctly update action state
- Date: Sun, 13 Aug 2017 12:06:35 +0000 (UTC)
commit 2d71dca4cc1eed64c7d126b17b9607eb4e7488f2
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 13 14:04:12 2017 +0200
MainWindowTools: add FIXME comment to correctly update action state
If the bug is present in only one release (so during 6 months), it's not
a big problem. I don't really want to write a lot of Vala code.
src/main_window_tools.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/main_window_tools.vala b/src/main_window_tools.vala
index fa8e174..a1ba3e3 100644
--- a/src/main_window_tools.vala
+++ b/src/main_window_tools.vala
@@ -82,6 +82,12 @@ public class MainWindowTools
Gspell.TextView gspell_view =
Gspell.TextView.get_from_gtk_text_view (_main_window.active_view as TextView);
spell_checking_action.active = gspell_view.inline_spell_checking;
+
+ // FIXME: listen to the current GspellTextView's
+ // notify::inline-spell-checking signal to update action state.
+ // Not sure it is worth implementing it in Vala, I anyway plan to
+ // integrate spell-checking with the Tepl framework, in C.
+ // It's not a critical bug.
}
/* Sensitivity */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]