aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws+gnome@xs4all.nl>2006-06-08 18:12:32 +0800
committerWouter Bolsterlee <wbolster@src.gnome.org>2006-06-08 18:12:32 +0800
commit356f0df1c8a95cbc7e89b5ea3817382b64c32734 (patch)
tree7bf7369ff9d9e95c14af4a6ccdf797b52b4a76ba /src
parent9752685a61d3195476548953e4a70c29076ce719 (diff)
downloadgsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar.gz
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar.bz2
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar.lz
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar.xz
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.tar.zst
gsoc2013-epiphany-356f0df1c8a95cbc7e89b5ea3817382b64c32734.zip
copy history over when opening link in new tab/win using context menu.
2006-06-08 Wouter Bolsterlee <uws+gnome@xs4all.nl> * 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.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c9
1 files changed, 9 insertions, 0 deletions
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;
}