[epiphany] ephy-shell: Open portal helper in new tab
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-shell: Open portal helper in new tab
- Date: Fri, 11 Sep 2020 23:25:48 +0000 (UTC)
commit 53630b20a90b3caa51a08b38232074c9a00437b7
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Wed Sep 9 19:36:21 2020 +0200
ephy-shell: Open portal helper in new tab
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1329
src/ephy-shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]