diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-09-09 19:36:21 +0200 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-09-11 23:25:08 +0000 |
commit | 53630b20a90b3caa51a08b38232074c9a00437b7 (patch) | |
tree | 7c7d5b963fa1c67413129e7d1f48c3eeaee0b6d1 | |
parent | 77bdeb4bd4edb6b2b34fddbd31c2f1e5afc61856 (diff) | |
download | epiphany-53630b20a90b3caa51a08b38232074c9a00437b7.tar.gz |
ephy-shell: Open portal helper in new tab
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1329
-rw-r--r-- | 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 ada829f38..77fb76d4c 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -594,7 +594,7 @@ portal_check (EphyShell *shell) if (g_network_monitor_get_connectivity (ephy_shell_get_net_monitor (shell)) == G_NETWORK_CONNECTIVITY_PORTAL) { EphyWindow *window = EPHY_WINDOW (gtk_application_get_active_window (GTK_APPLICATION (shell))); - ephy_window_load_url (window, "http://nmcheck.gnome.org/"); + ephy_link_open (EPHY_LINK (window), "http://nmcheck.gnome.org/", NULL, EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO); } } |