aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-27 03:31:50 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-27 03:31:50 +0800
commitef133a334140cc293c6eb313675e8298744de5a1 (patch)
tree5dd7aec804d2897bf8b03745e3f062bf45f78cb6
parent8347d576372c908c748b227020fe46acbe16ca22 (diff)
downloadgsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar.gz
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar.bz2
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar.lz
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar.xz
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.tar.zst
gsoc2013-epiphany-ef133a334140cc293c6eb313675e8298744de5a1.zip
Don't destroy the dialogue with the parent, since that makes gtk+ go
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.
-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));