aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-shell.c9
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b5e7846bf..fe7e4bed3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-06-04 Christian Persch <chpe@cvs.gnome.org>
* 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;
}