aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-05-22 03:05:36 +0800
committerXan Lopez <xan@src.gnome.org>2003-05-22 03:05:36 +0800
commit489e50f1d4027e009243f3bd015350417d4f5758 (patch)
tree9cddfc5f593a2646e6ca48c0303b8aa37b9eb07c /src
parent7fe7ce744bf7337232d55161d00fb1d1c89f6e99 (diff)
downloadgsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar.gz
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar.bz2
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar.lz
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar.xz
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.tar.zst
gsoc2013-epiphany-489e50f1d4027e009243f3bd015350417d4f5758.zip
Fix according to new tab logic.
Fix according to new tab logic.
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);