aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c5ec5c4ad..e62064a45 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -803,7 +803,8 @@ downloader_view_add_download (DownloaderView *dv,
}
#endif
- dv->priv->source_id = g_timeout_add (100, (GSourceFunc) update_buttons_timeout_cb, dv);
+ if (dv->priv->source_id == 0)
+ dv->priv->source_id = g_timeout_add (100, (GSourceFunc) update_buttons_timeout_cb, dv);
}
static void