[nautilus] Make dialogs modal
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Make dialogs modal
- Date: Mon, 16 Jul 2012 20:04:40 +0000 (UTC)
commit b1c13443f8188a5c7b23d566be6eb880a681a3ac
Author: William Jon McCann <jmccann redhat com>
Date: Mon Jul 16 14:22:18 2012 -0400
Make dialogs modal
eel/eel-stock-dialogs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c
index 7d9ffca..79209b1 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]