summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-07-16 14:22:18 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2012-07-16 14:22:18 -0400
commitb1c13443f8188a5c7b23d566be6eb880a681a3ac (patch)
tree9b0c19450bf90791e3db5b018a1787936925d9bc /eel
parent3515bc368ada06e5947546cd8dada733b163bf01 (diff)
downloadnautilus-b1c13443f8188a5c7b23d566be6eb880a681a3ac.tar.gz
Make dialogs modal
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-stock-dialogs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c
index 7d9ffca3f..79209b1cb 100644
--- a/eel/eel-stock-dialogs.c
+++ b/eel/eel-stock-dialogs.c
@@ -380,6 +380,8 @@ create_message_dialog (const char *primary_text,
type,
buttons_type,
NULL);
+ if (parent)
+ gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
g_object_set (dialog,
"text", primary_text,