aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window-commands.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 87f140e90..323453fc2 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -625,6 +625,12 @@ download_icon_and_set_image (EphyApplicationDialogData *data)
#ifdef HAVE_WEBKIT2
download = webkit_web_context_download_uri (webkit_web_context_get_default (),
data->icon_href);
+ /* We do not want this download to show up in the UI, so let's
+ * set 'ephy-download-set' to make Epiphany think this is
+ * already there. */
+ /* FIXME: it's probably better to just do this in a clean way
+ * instead of using this workaround. */
+ g_object_set_data (G_OBJECT (download), "ephy-download-set", GINT_TO_POINTER (TRUE));
#else
request = webkit_network_request_new (data->icon_href);
download = webkit_download_new (request);