summaryrefslogtreecommitdiff
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-12-04 21:03:11 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-12-06 09:14:04 -0600
commit9ec18488ccce40d4eb692f5cbeb9471ea5a1b202 (patch)
tree2b69f4b58cd71bf137503f275ba56332691a6e2c /embed/ephy-embed-shell.c
parent19322541e8be8f11ad6a4aee4457b9cc636c5a69 (diff)
downloadepiphany-9ec18488ccce40d4eb692f5cbeb9471ea5a1b202.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
Diffstat (limited to 'embed/ephy-embed-shell.c')
-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 135657e3c..ba29ab0fb 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -198,6 +198,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