}
static gchar*
-prepare_speed_dial_html (MidoriView* view)
+prepare_speed_dial_html (MidoriView* view,
+ gboolean load_missing)
{
MidoriBrowser* browser = midori_browser_get_for_widget (GTK_WIDGET (view));
GKeyFile* key_file;
else
{
encoded = g_strdup ("");
- midori_view_speed_dial_get_thumb (view, dial_entry, uri);
+ if (load_missing)
+ midori_view_speed_dial_get_thumb (view, dial_entry, uri);
}
g_free (thumb_file);
katze_item_set_uri (view->item, "");
if (speeddial_markup == NULL)
- speeddial_markup = prepare_speed_dial_html (view);
+ speeddial_markup = prepare_speed_dial_html (view, TRUE);
midori_view_load_alternate_string (view,
speeddial_markup, "about:blank", NULL);
sokoke_key_file_save_to_file (key_file, config_file, NULL);
g_free (config_file);
- katze_assign (speeddial_markup, prepare_speed_dial_html (view));
+ katze_assign (speeddial_markup, prepare_speed_dial_html (view, FALSE));
while ((tab = midori_browser_get_nth_tab (browser, i++)))
if (midori_view_is_blank (MIDORI_VIEW (tab)))