diff options
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 30ee3135f..e6a3ecf8a 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -508,6 +508,15 @@ ephy_shell_new_tab_full (EphyShell *shell, ephy_window_add_tab (window, tab, position, jump_to); + if (previous_embed != NULL) + { + ephy_embed_shistory_copy (previous_embed, + embed, + TRUE, /* back history */ + TRUE, /* forward history */ + FALSE); /* current index */ + } + ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time); if ((flags & EPHY_NEW_TAB_DONT_SHOW_WINDOW) == 0) @@ -572,15 +581,6 @@ ephy_shell_new_tab_full (EphyShell *shell, } } - if (previous_embed != NULL) - { - ephy_embed_shistory_copy (previous_embed, - embed, - TRUE, /* back history */ - FALSE, /* forward history */ - FALSE); /* current index */ - } - return tab; } |