[epiphany/gnome-40] ephy-shell: Omit portal helper from Pantheon environment



commit 4c3a1757a42c1b5d9f85ff597f32f0788c0d13b2
Author: Cassidy James Blaede <c ssidyjam es>
Date:   Thu Aug 12 21:27:33 2021 +0000

    ephy-shell: Omit portal helper from Pantheon environment
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1006>
    
    
    (cherry picked from commit 5031aa63cf26b763ae0b75b3636c5b926211a14a)

 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 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);
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]