aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c3
-rw-r--r--src/session.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index dd6b321ab..b3e28ec5c 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -833,7 +833,8 @@ ephy_tab_dom_mouse_click_cb (EphyEmbed *embed,
ephy_embed_event_get_property (event, "link", &value);
ephy_shell_new_tab (ephy_shell, window, tab,
- g_value_get_string (value), 0);
+ g_value_get_string (value),
+ EPHY_NEW_TAB_OPEN_PAGE);
}
else if (button == 1 &&
eel_gconf_get_boolean (CONF_INTERFACE_MIDDLE_CLICK_OPEN_URL) &&
diff --git a/src/session.c b/src/session.c
index 9d568a22f..0216ab50f 100644
--- a/src/session.c
+++ b/src/session.c
@@ -562,6 +562,7 @@ parse_embed (xmlNodePtr child, EphyWindow *window)
ephy_shell_new_tab (ephy_shell, window, NULL, url,
EPHY_NEW_TAB_IN_EXISTING_WINDOW |
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_DONT_JUMP_TO |
EPHY_NEW_TAB_APPEND_LAST);