From 91c8c8eb491c91f50a221cf7efe7c96a34a5de6b Mon Sep 17 00:00:00 2001 From: Pigpog <7060603@hotmail.ca> Date: Mon, 19 Aug 2024 15:34:29 -0600 Subject: Use new call.incoming notification category This notification category is pending merge in FreeDesktop. See https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/50 --- main/src/ui/notifier_freedesktop.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/notifier_freedesktop.vala b/main/src/ui/notifier_freedesktop.vala index 0d263dba..99428315 100644 --- a/main/src/ui/notifier_freedesktop.vala +++ b/main/src/ui/notifier_freedesktop.vala @@ -121,7 +121,7 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { hash_table["sound-name"] = new Variant.string("phone-incoming-call"); hash_table["urgency"] = new Variant.byte(2); hash_table["desktop-entry"] = new Variant.string(Dino.Application.get_default().get_application_id()); - hash_table["category"] = new Variant.string("im"); + hash_table["category"] = new Variant.string("call.incoming"); string[] actions = new string[] {"default", "Open conversation", "reject", _("Reject"), "accept", _("Accept")}; try { uint32 notification_id = yield dbus_notifications.notify("Dino", 0, "", summary, body, actions, hash_table, 0); -- cgit v1.2.3-70-g09d2