\n");
for (l = urls; l; l = g_list_next (l)) {
EphyHistoryURL *url = (EphyHistoryURL *)l->data;
const char *snapshot;
g_autofree char *thumbnail_style = NULL;
g_autofree char *markup = NULL;
snapshot = ephy_snapshot_service_lookup_cached_snapshot_path (snapshot_service, url->url);
if (snapshot)
thumbnail_style = g_strdup_printf (" style=\"background: url(file://%s) no-repeat; background-size: 100%%;\"", snapshot);
else
ephy_embed_shell_schedule_thumbnail_update (shell, url);
markup = g_markup_escape_text (url->title, -1);
g_string_append_printf (data_str,
"
"
" "
" "
" %s"
"",
markup, url->url, _("Remove from overview"),
thumbnail_style ? thumbnail_style : "", url->title);
}
data_str = g_string_append (data_str,
"