[nautilus/gnome-3-20] properties-window: make icon chooser dialog modal
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] properties-window: make icon chooser dialog modal
- Date: Fri, 29 Jul 2016 13:35:22 +0000 (UTC)
commit 6c9209069a2704db800648225f147408b7579673
Author: Ernestas Kulik <ernestask src gnome org>
Date: Mon May 9 19:26:51 2016 +0300
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 1214752..1bfb788 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -5185,6 +5185,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]