aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-27 03:32:31 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-27 03:32:31 +0800
commit986c4843dc028fb6226cf040a76f6e39213fc084 (patch)
tree3ad95cd7ea9155a1c4e8d07eca424cb1f9365332 /embed
parent0530ad9ce52c9feaa35c246c389cc2cbf5457c8a (diff)
downloadgsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar.gz
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar.bz2
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar.lz
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar.xz
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.tar.zst
gsoc2013-epiphany-986c4843dc028fb6226cf040a76f6e39213fc084.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.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/FilePicker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index f64de96b4..a67778557 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -426,6 +426,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));