[Xfce4-commits] <midori:master> Show at most 10 back/ forward history items
Christian Dywan
noreply at xfce.org
Sat Mar 31 03:30:02 CEST 2012
Updating branch refs/heads/master
to 4c4c84944182bb6ad582078c976c2ba85511bf00 (commit)
from a6f9bea939b8eea1e990b1899b436a3834fe2948 (commit)
commit 4c4c84944182bb6ad582078c976c2ba85511bf00
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Mar 31 02:50:51 2012 +0200
Show at most 10 back/ forward history items
Consistent with trash.
midori/midori-browser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 0692d71..5061ec0 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);
More information about the Xfce4-commits
mailing list