Show at most 10 back/ forward history items
Consistent with trash.
This commit is contained in:
parent
a6f9bea939
commit
4c4c849441
1 changed files with 2 additions and 0 deletions
|
@ -6516,6 +6516,8 @@ midori_browser_toolbar_popup_context_menu_history (MidoriBrowser* browser,
|
||||||
g_signal_connect (G_OBJECT (menu_item), "activate",
|
g_signal_connect (G_OBJECT (menu_item), "activate",
|
||||||
G_CALLBACK (midori_browser_toolbar_popup_context_menu_history_cb),
|
G_CALLBACK (midori_browser_toolbar_popup_context_menu_history_cb),
|
||||||
browser);
|
browser);
|
||||||
|
if (steps == (10 - 1))
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
webkit_web_back_forward_list_go_to_item (list, current_item);
|
webkit_web_back_forward_list_go_to_item (list, current_item);
|
||||||
|
|
Loading…
Reference in a new issue