diff options
author | Ernestas Kulik <ernestask@src.gnome.org> | 2016-05-09 19:26:51 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@src.gnome.org> | 2016-05-11 12:29:22 +0300 |
commit | 6df5972a6b3d472d64dd741626424a3332d2fd17 (patch) | |
tree | dcdf16330eb1a5f750e01f7034e58a9db4fe5d47 | |
parent | 7407065f5ac599cd0cb49c94753a8ed49eaacd8c (diff) | |
download | nautilus-6df5972a6b3d472d64dd741626424a3332d2fd17.tar.gz |
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
-rw-r--r-- | src/nautilus-properties-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |