[gspell] checker-dialog: make it modal by default



commit b0810e8249cfe6fd5c4de0464b4b8dccedc5ccc8
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Feb 14 14:44:42 2016 +0100

    checker-dialog: make it modal by default

 gspell/resources/checker-dialog.ui |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gspell/resources/checker-dialog.ui b/gspell/resources/checker-dialog.ui
index de43f40..62eaaeb 100644
--- a/gspell/resources/checker-dialog.ui
+++ b/gspell/resources/checker-dialog.ui
@@ -8,6 +8,15 @@
     <property name="title" translatable="yes">Check Spelling</property>
     <property name="resizable">False</property>
     <property name="type_hint">dialog</property>
+
+    <!-- Modal because it is not supported to edit the buffer during a spell
+         checking with the CheckerDialog. What if we modify directly in the
+         buffer the word being spell checked, and then we click on the Change
+         button? there is now a critical message if the word is no longer the
+         same. See the thoughts at:
+         https://bugzilla.gnome.org/show_bug.cgi?id=761923 -->
+    <property name="modal">True</property>
+
     <child internal-child="vbox">
       <object class="GtkBox" id="content">
         <property name="visible">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]