[gnome-color-manager] Ensure the import dialog is modal over the preferences capplet
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Ensure the import dialog is modal over the preferences capplet
- Date: Mon, 30 Nov 2009 11:15:36 +0000 (UTC)
commit 97b67c73f26c22d8996003ecd3b03cae13f752a6
Author: Richard Hughes <richard hughsie com>
Date: Mon Nov 30 11:12:55 2009 +0000
Ensure the import dialog is modal over the preferences capplet
src/gcm-prefs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index c8f95d0..1923e37 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -610,7 +610,7 @@ gcm_prefs_profile_import_cb (GtkWidget *widget, gpointer data)
if (!ret) {
/* TRANSLATORS: could not read file */
window = GTK_WINDOW(gtk_builder_get_object (builder, "dialog_prefs"));
- dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Failed to copy file"));
+ dialog = gtk_message_dialog_new (window, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Failed to copy file"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GCM_STOCK_ICON);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]