diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2004-01-21 Marco Pesenti Gritti <marco@gnome.org> + + * embed/mozilla/ContentHandler.cpp: + + Destroy filepicker once it's done. I dunno + about much more bugs so please report now ;) + 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index d7dd0f4d7..0e5664019 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -142,10 +142,14 @@ NS_IMETHODIMP GContentHandler::PromptForSaveToFile( BuildDownloadPath (filename, _retval); g_free (filename); + gtk_widget_destroy (GTK_WIDGET (dialog)); + return NS_OK; } else { + gtk_widget_destroy (GTK_WIDGET (dialog)); + return NS_ERROR_FAILURE; } } |