From fb964a82fd2244d91b6303853d3a49ec338b94cc Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 18 Dec 2004 21:51:48 +0000 Subject: Make sure we don't have any app-modal dialogues. Fixes bug #110479. 2004-12-18 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479. --- lib/ephy-file-chooser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/ephy-file-chooser.c') diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c index d759416aa..1f3c80f63 100644 --- a/lib/ephy-file-chooser.c +++ b/lib/ephy-file-chooser.c @@ -25,6 +25,7 @@ #include "ephy-file-helpers.h" #include "eel-gconf-extensions.h" #include "ephy-state.h" +#include "ephy-gui.h" #include "ephy-debug.h" #include @@ -377,7 +378,8 @@ ephy_file_chooser_new (const char *title, { gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent)); - + gtk_window_group_add_window (ephy_gui_ensure_window_group (GTK_WINDOW (parent)), + GTK_WINDOW (dialog)); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); } -- cgit v1.2.3