aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/FilePicker.cpp
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 /embed/mozilla/FilePicker.cpp
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.
Diffstat (limited to 'embed/mozilla/FilePicker.cpp')
-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 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));