diff options
author | Ondrej Holy <oholy@redhat.com> | 2022-01-26 12:15:36 +0100 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2022-02-07 16:41:05 +0000 |
commit | 7cad82c9d10a27b93812caba111d4cc5cfa7fd23 (patch) | |
tree | 7e4a7925d19b07bc19afc0e2129008a568a45851 /src/nautilus-file-operations.c | |
parent | 84913a9df5d4be1cdff72bf3025ba2d078d0c52c (diff) | |
download | nautilus-7cad82c9d10a27b93812caba111d4cc5cfa7fd23.tar.gz |
general: Make message dialogs modal again
After the GTK 4 port, some dialogs are no more modal. This is regression,
which is probably caused by the fact, that this needs to be explicitly
specified now. Let's make all the `GtkMessageDialog` dialogs modal again.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2117
Diffstat (limited to 'src/nautilus-file-operations.c')
-rw-r--r-- | src/nautilus-file-operations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c index a6ab32905..38be3fe3a 100644 --- a/src/nautilus-file-operations.c +++ b/src/nautilus-file-operations.c @@ -1347,7 +1347,7 @@ do_run_simple_dialog (gpointer _data) /* Create the dialog. */ dialog = gtk_message_dialog_new (*data->parent_window, - 0, + GTK_DIALOG_MODAL, data->message_type, GTK_BUTTONS_NONE, NULL); |