summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCassidy James Blaede <c@ssidyjam.es>2021-08-12 21:27:33 +0000
committerMichael Catanzaro <mcatanzaro@gnome.org>2021-08-13 19:56:17 +0000
commit4c3a1757a42c1b5d9f85ff597f32f0788c0d13b2 (patch)
tree7879ee4630739d417f36ceacd623cd5e46aafa75
parent39ea7a27f3dc7f6c45095dcb73ce82e78dc0a4b2 (diff)
downloadepiphany-4c3a1757a42c1b5d9f85ff597f32f0788c0d13b2.tar.gz
ephy-shell: Omit portal helper from Pantheon environment
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1006> (cherry picked from commit 5031aa63cf26b763ae0b75b3636c5b926211a14a)
-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 650531da8..28b6f89b7 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -635,7 +635,7 @@ ephy_shell_activate (GApplication *application)
EphyShell *shell = EPHY_SHELL (application);
EphyEmbedShell *embed_shell = EPHY_EMBED_SHELL (shell);
- if (!is_desktop_gnome ()) {
+ if (!is_desktop_gnome () && !is_desktop_pantheon ()) {
g_signal_connect (ephy_shell_get_net_monitor (shell), "notify::connectivity", G_CALLBACK (connectivity_changed), shell);
portal_check (shell);
}