[epiphany] ephy-shell.c: set typed address when opening a page in a new tab too.
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Subject: [epiphany] ephy-shell.c: set typed address when opening a page in a new tab too.
- Date: Wed, 10 Jun 2009 17:29:16 -0400 (EDT)
commit 3b6e87a4e480192c3597a4462b126360573937c6
Author: Xan Lopez <xan gnome org>
Date: Thu Jun 11 00:28:18 2009 +0300
ephy-shell.c: set typed address when opening a page in a new tab too.
---
src/ephy-shell.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index fe603f4..8e6b6c0 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]