summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-12-04 21:03:11 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-12-16 21:52:54 -0600
commitfa782911a4fbfaaedf77e007e9de6072eaf285c7 (patch)
treed52fb7948564cc687d078156c4e9e738b3d5316c
parentdf2efbe89b803c6c8b7dad3b0b438322d9ce3a2e (diff)
downloadepiphany-fa782911a4fbfaaedf77e007e9de6072eaf285c7.tar.gz
embed-shell: Schedule thumbnail updates after updating overview
Otherwise we do not display a thumbnail for new overview items when a previous overview item is removed, even if we have a snapshot in the snapshot database. This doesn't and cannot fix the case where no snapshot exists -- sometimes we just really don't have a usable snapshot -- but usually we do have a snapshot and this fixes the general case. https://bugzilla.gnome.org/show_bug.cgi?id=775612
-rw-r--r--embed/ephy-embed-shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 064ecf057..96cd3de23 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -149,6 +149,9 @@ history_service_query_urls_cb (EphyHistoryService *service,
ephy_web_extension_proxy_history_set_urls (web_extension, urls);
}
+
+ for (l = urls; l; l = g_list_next (l))
+ ephy_embed_shell_schedule_thumbnail_update (shell, (EphyHistoryURL *)l->data);
}
static void