From: Danilo Segan <danilo@gnome.org>
Subject: put new tabs after the current one

--- a/src/ephy-window.c	2011-03-09 22:29:31.000000000 +0100
+++ b/src/ephy-window.c	2011-04-16 01:52:54.893909440 +0200
@@ -3481,7 +3481,7 @@
 		}
 		else
 		{
-			ntflags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW;
+			ntflags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_APPEND_AFTER;
 		}
 
 		new_embed = ephy_shell_new_tab
