aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@src.gnome.org>2009-03-26 23:29:32 +0800
committerGustavo Noronha Silva <gns@src.gnome.org>2009-03-26 23:29:32 +0800
commita551a219577761befd9450f487394013bad857d2 (patch)
tree426544de183f7f23838b8a094c07ca57d25a24ff /embed/downloader-view.c
parentbd770032b47bdabac773b1158dde0dd9f76d2b20 (diff)
downloadgsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar.gz
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar.bz2
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar.lz
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar.xz
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.tar.zst
gsoc2013-epiphany-a551a219577761befd9450f487394013bad857d2.zip
Remove downloading files when cancelling the download.
svn path=/trunk/; revision=8940
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index f8fe7f94e..b15459204 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -996,6 +996,7 @@ download_dialog_stop (DownloaderView *dv)
{
if (!l->data) continue;
webkit_download_cancel ((WebKitDownload*) l->data);
+ ephy_file_delete_uri (webkit_download_get_destination_uri ((WebKitDownload*) l->data));
g_object_unref (l->data);
}