aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2011-02-12 23:40:09 +0800
committerXan Lopez <xan@gnome.org>2011-02-12 23:45:07 +0800
commit552b8f94003391ee8255ced943e333801906801c (patch)
treeab5d196045ce1a03755b58fe31109e3359af0804
parent367509a5a70af04872a618cb2bc5d4e0b97d3370 (diff)
downloadgsoc2013-epiphany-552b8f94003391ee8255ced943e333801906801c.tar.gz
gsoc2013-epiphany-552b8f94003391ee8255ced943e333801906801c.tar.zst
gsoc2013-epiphany-552b8f94003391ee8255ced943e333801906801c.zip
ephy-window: append new tabs after parent by default
I think this makes much more sense as a default behavior when opening a tab from an existing page, since it keeps logically related tabs together.
-rw-r--r--src/ephy-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 72da8dc0c..5753912fc 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2462,7 +2462,7 @@ policy_decision_required_cb (WebKitWebView *web_view,
else if (button == 2 ||
(button == 1 && state == GDK_CONTROL_MASK))
{
- flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW;
+ flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_APPEND_AFTER;
}
/* Because we connect to button-press-event *after*
* (G_CONNECT_AFTER) we need to prevent WebKit from browsing to