aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-07 02:58:19 +0800
committerXan Lopez <xan@igalia.com>2013-03-07 03:00:49 +0800
commit80ea62552d2e08dc2e990c5820678a06157ae416 (patch)
tree3ad0b5df469d8f5abad6340c342460cfad7c34c2
parentb3351b02000d5ab223202b1ac083b73b418160b2 (diff)
downloadgsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar.gz
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar.bz2
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar.lz
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar.xz
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.tar.zst
gsoc2013-epiphany-80ea62552d2e08dc2e990c5820678a06157ae416.zip
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
-rw-r--r--src/ephy-shell.c2
1 files changed, 1 insertions, 1 deletions
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;