From 80ea62552d2e08dc2e990c5820678a06157ae416 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 6 Mar 2013 19:58:19 +0100 Subject: ephy-shell: fix opening new pages from the command line We were not re-using the active EphyEmbed, which causes opening one extra empty tab. https://bugzilla.gnome.org/show_bug.cgi?id=694966 --- src/ephy-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ephy-shell.c b/src/ephy-shell.c index ee760e104..3f39fe67a 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -1113,7 +1113,7 @@ open_uris_data_new (EphyShell *shell, data->window = NULL; data->flags |= EPHY_NEW_TAB_IN_NEW_WINDOW; } else if (startup_flags & EPHY_STARTUP_NEW_TAB || (new_windows_in_tabs && have_uris)) { - data->flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_JUMP | EPHY_NEW_TAB_PRESENT_WINDOW; + data->flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_JUMP | EPHY_NEW_TAB_PRESENT_WINDOW | EPHY_NEW_TAB_FROM_EXTERNAL; } else if (!have_uris) { data->window = NULL; data->flags |= EPHY_NEW_TAB_IN_NEW_WINDOW; -- cgit v1.2.3