diff options
author | Xan Lopez <xan@igalia.com> | 2011-12-12 05:26:38 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2011-12-12 05:26:38 +0800 |
commit | d53300503bb6613c00a7124d429aa9250fea74cd (patch) | |
tree | f8ae32a5a6377b54cc19703901e9d19d04a927ea /src | |
parent | 3f14045eff423852cd09b47f18fa57b0475d3b00 (diff) | |
download | gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar.gz gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar.bz2 gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar.lz gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar.xz gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.tar.zst gsoc2013-epiphany-d53300503bb6613c00a7124d429aa9250fea74cd.zip |
ephy-window: append new windows opened as tabs after current tab
To be consistent with our new default behavior, which is to append new
tabs after their parent.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 2fc4875ed..679b085c2 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2,6 +2,7 @@ /* * Copyright © 2000, 2001, 2002, 2003, 2004 Marco Pesenti Gritti * Copyright © 2003, 2004 Christian Persch + * Copyright © 2011 Igalia S.L. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -2563,8 +2564,8 @@ create_web_view_cb (WebKitWebView *web_view, { parent_window = window; flags = EPHY_NEW_TAB_IN_EXISTING_WINDOW | - EPHY_NEW_TAB_JUMP; - + EPHY_NEW_TAB_JUMP | + EPHY_NEW_TAB_APPEND_AFTER; } else { @@ -2575,7 +2576,8 @@ create_web_view_cb (WebKitWebView *web_view, embed = ephy_shell_new_tab_full (ephy_shell_get_default (), parent_window, - NULL, NULL, + EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW (web_view), + NULL, flags, EPHY_WEB_VIEW_CHROME_ALL, FALSE, /* is popup? */ |