diff options
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 174de53bf..70a930fd9 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -987,8 +987,11 @@ delete_pending_foreach (gpointer persist_object, DownloadDetails *details, DownloaderView *dv) { - g_signal_emit (G_OBJECT (dv), downloader_view_signals[DOWNLOAD_REMOVE], - 0, persist_object); + if (details->status != DOWNLOAD_STATUS_COMPLETED) + { + g_signal_emit (G_OBJECT (dv), downloader_view_signals[DOWNLOAD_REMOVE], + 0, persist_object); + } return TRUE; } |