Title: [161187] trunk/Tools
Revision
161187
Author
[email protected]
Date
2014-01-01 05:35:13 -0800 (Wed, 01 Jan 2014)

Log Message

[GTK][WK2] Back items are shown in reverse order in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=126354

Reviewed by Carlos Garcia Campos.

The latest visited site for backward history should be placed on the top of a history stack
as a common behavior. However currently its order is reverse.

* MiniBrowser/gtk/BrowserWindow.c:
(browserWindowUpdateNavigationActions):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (161186 => 161187)


--- trunk/Tools/ChangeLog	2014-01-01 01:08:13 UTC (rev 161186)
+++ trunk/Tools/ChangeLog	2014-01-01 13:35:13 UTC (rev 161187)
@@ -1,3 +1,16 @@
+2014-01-01  ChangSeok Oh  <[email protected]>
+
+        [GTK][WK2] Back items are shown in reverse order in MiniBrowser
+        https://bugs.webkit.org/show_bug.cgi?id=126354
+
+        Reviewed by Carlos Garcia Campos.
+
+        The latest visited site for backward history should be placed on the top of a history stack
+        as a common behavior. However currently its order is reverse.
+
+        * MiniBrowser/gtk/BrowserWindow.c:
+        (browserWindowUpdateNavigationActions):
+
 2013-12-30  Martin Robinson  <[email protected]>
 
         [GTK] Make the output directory of GObject unit tests binaries consistent with the CMake build

Modified: trunk/Tools/MiniBrowser/gtk/BrowserWindow.c (161186 => 161187)


--- trunk/Tools/MiniBrowser/gtk/BrowserWindow.c	2014-01-01 01:08:13 UTC (rev 161186)
+++ trunk/Tools/MiniBrowser/gtk/BrowserWindow.c	2014-01-01 13:35:13 UTC (rev 161187)
@@ -230,14 +230,14 @@
     gtk_widget_set_sensitive(window->backItem, webkit_web_view_can_go_back(window->webView));
     gtk_widget_set_sensitive(window->forwardItem, webkit_web_view_can_go_forward(window->webView));
 
-    GList *list = webkit_back_forward_list_get_back_list_with_limit(backForwadlist, 10);
+    GList *list = g_list_reverse(webkit_back_forward_list_get_back_list_with_limit(backForwadlist, 10));
     gtk_menu_tool_button_set_menu(GTK_MENU_TOOL_BUTTON(window->backItem),
-                                  browserWindowCreateBackForwardMenu(window, list));
+        browserWindowCreateBackForwardMenu(window, list));
     g_list_free(list);
 
     list = webkit_back_forward_list_get_forward_list_with_limit(backForwadlist, 10);
     gtk_menu_tool_button_set_menu(GTK_MENU_TOOL_BUTTON(window->forwardItem),
-                                  browserWindowCreateBackForwardMenu(window, list));
+        browserWindowCreateBackForwardMenu(window, list));
     g_list_free(list);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to