aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 5489222d6..7af15a0a3 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -402,9 +402,9 @@ ephy_shell_new_tab (EphyShell *shell,
if (flags & EPHY_NEW_TAB_HOME_PAGE ||
flags & EPHY_NEW_TAB_NEW_PAGE)
{
- toolbar_edit_location (toolbar);
-
+ ephy_tab_set_location (tab, "", TAB_ADDRESS_EXPIRE_NEXT);
load_homepage (embed);
+ toolbar_activate_location (toolbar);
}
else if (flags & EPHY_NEW_TAB_OPEN_PAGE)
{