summaryrefslogtreecommitdiff
path: root/lib/ephy-gui.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-06 16:51:30 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-07 12:52:53 -0500
commitf61a785839d2cccfa5ecf0a319acbe7e132127ab (patch)
tree7a66a9910cbd1025c5619459c9b1135cb5b9ed2f /lib/ephy-gui.c
parent0b036c01ef37b199de12add9ae17af7ebce93814 (diff)
downloadepiphany-f61a785839d2cccfa5ecf0a319acbe7e132127ab.tar.gz
Always make message dialogs modal
https://bugzilla.gnome.org/show_bug.cgi?id=723803
Diffstat (limited to 'lib/ephy-gui.c')
-rw-r--r--lib/ephy-gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index d67bc02ce..1e44c90fa 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -200,7 +200,7 @@ ephy_gui_check_location_writable (GtkWidget *parent,
{
dialog = gtk_message_dialog_new (
parent ? GTK_WINDOW(parent) : NULL,
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_("Directory ā€œ%sā€ is not writable"), path);
@@ -236,7 +236,7 @@ ephy_gui_check_location_writable (GtkWidget *parent,
{
dialog = gtk_message_dialog_new (
parent ? GTK_WINDOW(parent) : NULL,
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_("Cannot overwrite existing file ā€œ%sā€"), display_name);
@@ -301,7 +301,7 @@ ephy_gui_help (GtkWidget *parent,
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Could not display help: %s"),