gboolean show_navigationbar;
gboolean show_statusbar;
+ gboolean customized_homepage_in_new_tabs;
gboolean progress_in_location;
gboolean remember_last_visited_pages;
gchar* location_entry_search;
GtkWidget* child;
#if GTK_CHECK_VERSION (2, 12, 0)
- /* FIXME: A preference should toggle thumbnails */
-
if (midori_view_get_load_status (MIDORI_VIEW (view)) != MIDORI_LOAD_FINISHED)
return;
MIDORI_LOCATION_ACTION (action), NULL);
g_object_notify (G_OBJECT (browser), "uri");
}
- midori_browser_update_thumbnail (view, uri);
+ if (browser->customized_homepage_in_new_tabs)
+ midori_browser_update_thumbnail (view, uri);
_midori_browser_update_interface (browser);
_midori_browser_set_statusbar_text (browser, NULL);
_midori_browser_update_interface (browser);
_midori_browser_update_progress (browser, MIDORI_VIEW (view));
- midori_browser_update_thumbnail (view, uri);
+ if (browser->customized_homepage_in_new_tabs)
+ midori_browser_update_thumbnail (view, uri);
}
static void
"show-panel", &show_panel,
"show-transferbar", &show_transferbar,
"show-statusbar", &browser->show_statusbar,
+ "customized-homepage-in-new-tabs", &browser->customized_homepage_in_new_tabs,
"toolbar-style", &toolbar_style,
"toolbar-items", &toolbar_items,
"last-web-search", &last_web_search,
browser->show_navigationbar = g_value_get_boolean (&value);
else if (name == g_intern_string ("show-statusbar"))
browser->show_statusbar = g_value_get_boolean (&value);
+ else if (name == g_intern_string ("customized-homepage-in-new-tabs"))
+ browser->customized_homepage_in_new_tabs = g_value_get_boolean (&value);
else if (name == g_intern_string ("progress-in-location"))
browser->progress_in_location = g_value_get_boolean (&value);
else if (name == g_intern_string ("search-engines-in-completion"))