From 6df5972a6b3d472d64dd741626424a3332d2fd17 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Mon, 9 May 2016 19:26:51 +0300 Subject: properties-window: make icon chooser dialog modal The custom icon selection GtkFileChooserDialog is unresponsive when opened. This is caused by the properties dialog window being modal, since it is up to the window manager how to process input in such situations. One of the ways to ensure that the child dialog receives and processes user input is by making it modal. This commit makes it such. https://bugzilla.gnome.org/show_bug.cgi?id=753394 --- src/nautilus-properties-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index 94544c32b..2fb33c74e 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -5149,6 +5149,7 @@ select_image_button_callback (GtkWidget *widget, g_get_user_special_dir (G_USER_DIRECTORY_PICTURES), NULL); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); filter = gtk_file_filter_new (); gtk_file_filter_add_pixbuf_formats (filter); -- cgit v1.2.1