From: Christian Dywan Date: Sat, 31 Mar 2012 00:50:51 +0000 (+0200) Subject: Show at most 10 back/ forward history items X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4c84944182bb6ad582078c976c2ba85511bf00;p=midori Show at most 10 back/ forward history items Consistent with trash. --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 0692d710..5061ec05 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -6516,6 +6516,8 @@ midori_browser_toolbar_popup_context_menu_history (MidoriBrowser* browser, g_signal_connect (G_OBJECT (menu_item), "activate", G_CALLBACK (midori_browser_toolbar_popup_context_menu_history_cb), browser); + if (steps == (10 - 1)) + break; } webkit_web_back_forward_list_go_to_item (list, current_item);