aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/FilePicker.cpp1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ed2a09da..ce3e15d13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-26 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/FilePicker.cpp:
+
+ Don't destroy the dialogue with the parent, since that makes
+ gtk+ go crazy. Fixes bug #156816.
+
2004-12-25 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-encodings.c: (ephy_encodings_init):
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 9d5bc1cf5..122df5aff 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -429,6 +429,7 @@ NS_IMETHODIMP GFilePicker::Show(PRInt16 *_retval)
LOG ("GFilePicker::Show")
gtk_window_set_modal (GTK_WINDOW (mDialog), TRUE);
+ gtk_window_set_destroy_with_parent (GTK_WINDOW (mDialog), FALSE);
gtk_widget_show (GTK_WIDGET (mDialog));