[epiphany/gnome-2-28] ephy-navigation-action: reverse forward history list



commit 62a46a92b35fdce1412ba41e5918e7235d6e4cf8
Author: Carl van Toder <carl supervacuo com>
Date:   Wed Dec 9 14:01:38 2009 +0200

    ephy-navigation-action: reverse forward history list
    
    Was reversed wrt epiphany/gecko
    
    Bug #601744
    
    Signed-off-by: Xan Lopez <xan gnome org>

 src/ephy-navigation-action.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c
index 972f86d..410fafc 100644
--- a/src/ephy-navigation-action.c
+++ b/src/ephy-navigation-action.c
@@ -197,8 +197,8 @@ webkit_construct_history_list (WebKitWebView *web_view, WebKitHistoryType hist_t
 	web_back_forward_list = webkit_web_view_get_back_forward_list (web_view);
 
 	if (hist_type == WEBKIT_HISTORY_FORWARD)
-		webkit_items = webkit_web_back_forward_list_get_forward_list_with_limit (web_back_forward_list,
-											 EPHY_WEBKIT_BACK_FORWARD_LIMIT);
+		webkit_items = g_list_reverse (webkit_web_back_forward_list_get_forward_list_with_limit (web_back_forward_list,
+													 EPHY_WEBKIT_BACK_FORWARD_LIMIT));
 	else
 		webkit_items = webkit_web_back_forward_list_get_back_list_with_limit (web_back_forward_list,
 										      EPHY_WEBKIT_BACK_FORWARD_LIMIT);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]