diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 5d7babc60..ca926c4de 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2562,16 +2562,16 @@ policy_decision_required_cb (WebKitWebView *web_view, const char *uri; EphyEmbed *embed; - uri = webkit_network_request_get_uri (request); embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window)); - ephy_shell_new_tab (ephy_shell_get_default (), - window, - embed, - uri, - EPHY_NEW_TAB_IN_EXISTING_WINDOW | - EPHY_NEW_TAB_OPEN_PAGE); + ephy_shell_new_tab_full (ephy_shell_get_default (), + window, + embed, + request, + EPHY_NEW_TAB_IN_EXISTING_WINDOW | + EPHY_NEW_TAB_OPEN_PAGE, + EPHY_EMBED_CHROME_ALL, FALSE, 0); return TRUE; } |