[epiphany] ephy-window: append new windows opened as tabs after current tab
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-window: append new windows opened as tabs after current tab
- Date: Sun, 11 Dec 2011 21:32:17 +0000 (UTC)
commit d53300503bb6613c00a7124d429aa9250fea74cd
Author: Xan Lopez <xan igalia com>
Date: Sun Dec 11 22:26:38 2011 +0100
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.
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 2fc4875..679b085 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? */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]