aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
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;