[epiphany/gnome-42] shell: do not set notifications priority to low
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-42] shell: do not set notifications priority to low
- Date: Thu, 28 Jul 2022 14:42:17 +0000 (UTC)
commit e529871b27908c0c14eae6ec1fa40ff3482810ec
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)
src/ephy-shell.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 0ace095aa..2c3b4fafa 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -992,7 +992,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]