[epiphany/gnome-41] shell: do not set notifications priority to low



commit c3fe0c38fad2b8012f7be4a27e277b6aa50a4a41
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Thu Jul 28 14:29:03 2022 +0200

    shell: do not set notifications priority to low
    
    GNOME shell doesn't show the popup for low urgency notifications, leave
    the default priority instead.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1179>
    
    
    (cherry picked from commit 45efd6da62991fad1388ebda837e50ed7b5b3be2)
    
    (cherry picked from commit e529871b27908c0c14eae6ec1fa40ff3482810ec)

 src/ephy-shell.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 377eaa033..821b3396c 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -989,7 +989,6 @@ show_notification_cb (WebKitWebView      *web_view,
   notify = g_notification_new (webkit_notification_get_title (notification));
   g_notification_set_body (notify, webkit_notification_get_body (notification));
 
-  g_notification_set_priority (notify, G_NOTIFICATION_PRIORITY_LOW);
   g_notification_set_default_action_and_target (notify, "app.notification-clicked", "t", 
webkit_notification_get_id (notification));
 
   g_hash_table_insert (shell->notifications, GINT_TO_POINTER (webkit_notification_get_id (notification)), 
notification);


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