diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 69c6b3a42..20f45a8d5 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -531,8 +531,6 @@ update_tabs_menu_sensitivity (EphyWindow *window) g_object_set (action, "sensitive", move_right, NULL); action = egg_action_group_get_action (action_group, "TabsDetach"); g_object_set (action, "sensitive", detach, NULL); - - ephy_tabs_menu_update (window->priv->tabs_menu); } static void @@ -1369,11 +1367,11 @@ ephy_window_get_tabs (EphyWindow *window) tab = g_object_get_data (G_OBJECT (w), "EphyTab"); g_return_val_if_fail (IS_EPHY_TAB (G_OBJECT (tab)), NULL); - tabs = g_list_append (tabs, tab); + tabs = g_list_prepend (tabs, tab); i++; } - return tabs; + return g_list_reverse (tabs); } static void |