From: Friedrich Beckmann Date: Sun, 19 Jun 2022 14:30:42 +0000 (+0200) Subject: gui: make import assistant window a modal window X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=4bee936a0fd54119feaaec41086ad15857df0ed4 gui: make import assistant window a modal window I changed the import assistant window to a modal window such that the other windows cannot be changed while the import is ongoing. There are problems when the main window is closed during the import. Closing: https://savannah.gnu.org/bugs/?62448 --- diff --git a/src/ui/gui/psppire-import-assistant.c b/src/ui/gui/psppire-import-assistant.c index ea71b4050b..9e8ef8d371 100644 --- a/src/ui/gui/psppire-import-assistant.c +++ b/src/ui/gui/psppire-import-assistant.c @@ -461,6 +461,7 @@ psppire_import_assistant_init (PsppireImportAssistant *ia) _("Importing Delimited Text Data")); gtk_window_set_icon_name (GTK_WINDOW (ia), "pspp"); + gtk_window_set_modal (GTK_WINDOW(ia), TRUE); chooser_page_create (ia);