From ef133a334140cc293c6eb313675e8298744de5a1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 26 Dec 2004 19:31:50 +0000 Subject: Don't destroy the dialogue with the parent, since that makes gtk+ go 2004-12-26 Christian Persch * embed/mozilla/FilePicker.cpp: Don't destroy the dialogue with the parent, since that makes gtk+ go crazy. Fixes bug #156816. --- embed/mozilla/FilePicker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'embed/mozilla') 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)); -- cgit v1.2.3