aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-tab.c3
-rw-r--r--src/session.c1
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 949adcd88..008ec23ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-21 Xan Lopez <xan@masilla.org>
+
+ * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb):
+ * src/session.c: (parse_embed):
+
+ Fix according to new tab logic.
+
2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org>
* src/ephy-notebook.c: (child_realize_cb),
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);