aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-01-22 03:38:53 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-01-22 03:38:53 +0800
commitd9cb8655babc4b628f16869b0f476f9fe49acab3 (patch)
tree1bfb8da459c04935481d9aef35bc8595c5f025f0
parent1e8441eee9d54fe9a53e6d99d5e2f79b98a62c69 (diff)
downloadgsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar.gz
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar.bz2
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar.lz
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar.xz
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.tar.zst
gsoc2013-epiphany-d9cb8655babc4b628f16869b0f476f9fe49acab3.zip
Destroy filepicker once it's done. I dunno about much more bugs so please
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 ;)
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/ContentHandler.cpp4
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14f25700b..f321d2194 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}
}