aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index b87b9b2fb..0ec321059 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -1003,9 +1003,10 @@ downloader_view_remove_download (DownloaderView *dv, WebKitDownload *download)
update_status_icon (dv);
/* Close the dialog if there are no more downloads */
-
if (!g_hash_table_size (dv->priv->downloads_hash))
{
+ gtk_widget_set_sensitive (dv->priv->abort_button, FALSE);
+ gtk_widget_set_sensitive (dv->priv->pause_button, FALSE);
g_object_unref (dv);
}
}