[epiphany] ephy-shell: fix opening new pages from the command line
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-shell: fix opening new pages from the command line
- Date: Wed, 6 Mar 2013 19:00:56 +0000 (UTC)
commit 80ea62552d2e08dc2e990c5820678a06157ae416
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 6 19:58:19 2013 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index ee760e1..3f39fe6 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]