From 356f0df1c8a95cbc7e89b5ea3817382b64c32734 Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Thu, 8 Jun 2006 10:12:32 +0000 Subject: copy history over when opening link in new tab/win using context menu. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-06-08 Wouter Bolsterlee * src/ephy-shell.c: (ephy_shell_new_tab_full): copy history over when opening link in new tab/win using context menu. Fixes bug #340742, patch by René Stadler. --- ChangeLog | 6 ++++++ src/ephy-shell.c | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index b5e7846bf..fe7e4bed3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-08 Wouter Bolsterlee + + * src/ephy-shell.c: (ephy_shell_new_tab_full): copy + history over when opening link in new tab/win using + context menu. Fixes bug #340742, patch by René Stadler. + 2006-06-04 Christian Persch * src/bookmarks/ephy-bookmarks.c: (resolve_cb): diff --git a/src/ephy-shell.c b/src/ephy-shell.c index aa88aa11d..410da1756 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -565,6 +565,15 @@ 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; } -- cgit v1.2.3