summaryrefslogtreecommitdiff
path: root/src/ephy-link.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-05-01 00:38:31 -0700
committerXan Lopez <xlopez@igalia.com>2011-05-01 00:38:31 -0700
commitea43a991f445a7fc91d06df2633ef4f9920ffc60 (patch)
tree228bf95ec839c0a421f3471bf13f2207c46a9b1e /src/ephy-link.c
parent87e2892e39713d4e2baa955d1c2b36cb194db8e4 (diff)
downloadepiphany-ea43a991f445a7fc91d06df2633ef4f9920ffc60.tar.gz
Be smarter about tab grouping
The previous patch was simply grouping new tabs in the current window always, which is too much. For instance, we don't want to group Ctrl+T.
Diffstat (limited to 'src/ephy-link.c')
-rw-r--r--src/ephy-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-link.c b/src/ephy-link.c
index 988132826..46cb9a19d 100644
--- a/src/ephy-link.c
+++ b/src/ephy-link.c
@@ -139,7 +139,7 @@ ephy_link_flags_from_current_event (void)
}
else if (state == 0 || state == GDK_CONTROL_MASK)
{
- flags = EPHY_LINK_NEW_TAB;
+ flags = EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER;
}
}
else
@@ -150,7 +150,7 @@ ephy_link_flags_from_current_event (void)
}
else if (state == GDK_CONTROL_MASK)
{
- flags = EPHY_LINK_NEW_TAB;
+ flags = EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER;
}
}