[epiphany] ephy-window: append new tabs after parent by default



commit 552b8f94003391ee8255ced943e333801906801c
Author: Xan Lopez <xan gnome org>
Date:   Sat Feb 12 16:40:09 2011 +0100

    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.

 src/ephy-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 72da8dc..5753912 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]