[gedit] spell: do not set_modal() the GspellCheckerDialog



commit ec030d92f4c37aa34799f00b3b1a8a6105ef0fd6
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Feb 14 14:48:40 2016 +0100

    spell: do not set_modal() the GspellCheckerDialog
    
    It is now done by gspell. When gspell will support a non-modal
    GspellCheckerDialog, then gedit will automatically benefit from it.

 plugins/spell/gedit-spell-plugin.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index 83a261f..6c47952 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -176,7 +176,6 @@ check_spell_cb (GSimpleAction *action,
        dialog = gspell_checker_dialog_new (GTK_WINDOW (priv->window), navigator);
        g_object_unref (navigator);
 
-       gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
        gtk_widget_show (dialog);
 }
 


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