aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-08-01 22:59:27 +0800
committerXan Lopez <xan@igalia.com>2012-08-01 23:00:23 +0800
commitf5b82def7c14945d21e1ceb606e09a7ae6806779 (patch)
tree9e6139ba45e1d276963a3270fbc01db426f39553 /src
parentca2a07b004ac4462867512892bfa0d772f3abc77 (diff)
downloadgsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar.gz
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar.bz2
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar.lz
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar.xz
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.tar.zst
gsoc2013-epiphany-f5b82def7c14945d21e1ceb606e09a7ae6806779.zip
ephy-window: do not copy history for new empty tabs
Do not copy the tab history when doing Ctrl+T/New Tab to open an empty tab. https://bugzilla.gnome.org/show_bug.cgi?id=651918 Signed-off-by: Xan Lopez <xan@igalia.com>
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index e5e9c04ce..10bff56b2 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -581,7 +581,11 @@ ephy_window_open_link (EphyLink *link,
ntflags |= EPHY_NEW_TAB_APPEND_AFTER;
if (flags & EPHY_LINK_HOME_PAGE)
+ {
ntflags |= EPHY_NEW_TAB_HOME_PAGE;
+ if (flags & EPHY_LINK_NEW_TAB)
+ ntflags |= EPHY_NEW_TAB_DONT_COPY_HISTORY;
+ }
new_embed = ephy_shell_new_tab
(ephy_shell,