[epiphany/carlosgc/notifications-popup] shell: do not set notifications priority to low




commit 5c6ce72d121cf319507f5ec0fcab756bce365307
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.

 src/ephy-shell.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index e2daaa63a..f1afda736 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -1007,7 +1007,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]