From 8de0368d4ec642662fdff99aefc5fbf19ce5afc9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 19 Aug 2012 11:36:42 -0700 Subject: [PATCH] val-labs-dialog, var-type-dialog: Make these dialogs modal. I missed this in the initial conversion. --- src/ui/gui/val-labs-dialog.c | 1 + src/ui/gui/var-type-dialog.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ui/gui/val-labs-dialog.c b/src/ui/gui/val-labs-dialog.c index 094a422af0..0d7f41307b 100644 --- a/src/ui/gui/val-labs-dialog.c +++ b/src/ui/gui/val-labs-dialog.c @@ -156,6 +156,7 @@ psppire_val_labs_dialog_run (GtkWindow *parent_window, dialog = psppire_val_labs_dialog_new (var); gtk_window_set_transient_for (GTK_WINDOW (dialog), parent_window); + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); gtk_widget_show (GTK_WIDGET (dialog)); labs = (psppire_dialog_run (PSPPIRE_DIALOG (dialog)) == GTK_RESPONSE_OK diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index 23ad0dce4b..8ca7b1c92d 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -207,6 +207,7 @@ psppire_var_type_dialog_run (GtkWindow *parent_window, dialog = psppire_var_type_dialog_new (format); gtk_window_set_transient_for (GTK_WINDOW (dialog), parent_window); + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); gtk_widget_show (GTK_WIDGET (dialog)); if (psppire_dialog_run (PSPPIRE_DIALOG (dialog)) == GTK_RESPONSE_OK) -- 2.30.2