aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2008-01-11 04:40:35 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-01-11 04:40:35 +0800
commitf7d3936f5ec8297531b32d973a39750ed182809b (patch)
treef330ecdf7b34b06612d73c890aeba9c682b43b3b /src/ephy-session.c
parent00a6ae4ccf4be271165755d6866211c708cc09f7 (diff)
downloadgsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar.gz
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar.bz2
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar.lz
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar.xz
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.tar.zst
gsoc2013-epiphany-f7d3936f5ec8297531b32d973a39750ed182809b.zip
Open externally opened link in current tab if it is blank.
Fix bug #499613. svn path=/trunk/; revision=7856
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 9ad5c271c..c1b79d25d 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -673,6 +673,10 @@ session_command_open_uris (EphySession *session,
window = ephy_session_get_active_window (session);
+ if (options != NULL && strstr (options, "external") != NULL)
+ {
+ flags |= EPHY_NEW_TAB_FROM_EXTERNAL;
+ }
if (options != NULL && strstr (options, "new-window") != NULL)
{
window = NULL;