aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-11 05:28:18 +0800
committerXan Lopez <xan@gnome.org>2009-06-11 05:28:18 +0800
commit3b6e87a4e480192c3597a4462b126360573937c6 (patch)
treedbd8325d9e3c5d352f44c7180b61388e46b58d01 /src
parent5d964f6ad1d5465d420bf9cd964ad931c5c75204 (diff)
downloadgsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar.gz
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar.bz2
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar.lz
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar.xz
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.tar.zst
gsoc2013-epiphany-3b6e87a4e480192c3597a4462b126360573937c6.zip
ephy-shell.c: set typed address when opening a page in a new tab too.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index fe603f44b..8e6b6c01e 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -520,8 +520,11 @@ ephy_shell_new_tab_full (EphyShell *shell,
/* request can be NULL when trying to load about:blank */
if (request)
{
- ephy_web_view_load_request (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)),
- request);
+ ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed),
+ webkit_network_request_get_uri (request),
+ EPHY_WEB_VIEW_ADDRESS_EXPIRE_NEXT);
+ ephy_web_view_load_request (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)),
+ request);
}
is_empty = !request || url_is_empty (webkit_network_request_get_uri (request));