aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-05-31 00:21:03 +0800
committerXan Lopez <xan@gnome.org>2009-05-31 00:21:03 +0800
commit3191345e4aafa9ae92c676468e588b6d1df2862c (patch)
treef2cd7b8ab212fca19fa745966156ce58c1d31384 /src/ephy-shell.c
parentd94e4eca61821f956c67e6a519c36be083dd794d (diff)
downloadgsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar.gz
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar.bz2
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar.lz
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar.xz
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.tar.zst
gsoc2013-epiphany-3191345e4aafa9ae92c676468e588b6d1df2862c.zip
Move method to copy history between embeds/views to EphyWebView from EphyEmbed.
Just part of the gradual progress to get rid of the Embed interface.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 1052b59d3..f957f3c47 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -56,6 +56,7 @@
#include "ephy-gui.h"
#include "ephy-stock-icons.h"
#include "ephy-embed-factory.h"
+#include "ephy-web-view.h"
#ifdef ENABLE_NETWORK_MANAGER
#include "ephy-net-monitor.h"
@@ -491,11 +492,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
if (previous_embed != NULL)
{
- ephy_embed_shistory_copy (previous_embed,
- embed,
- TRUE, /* back history */
- TRUE, /* forward history */
- FALSE); /* current index */
+ ephy_web_view_copy_back_history (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (previous_embed)),
+ EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)));
}
ephy_gui_window_update_user_time (GTK_WIDGET (window), user_time);