aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPigpog <7060603@hotmail.ca>2024-08-19 15:34:29 -0600
committerfiaxh <fiaxh@users.noreply.github.com>2024-09-14 22:08:49 +0200
commit91c8c8eb491c91f50a221cf7efe7c96a34a5de6b (patch)
treed1bab8b323580be6f884221338d10fe52d1f0fe9
parenta9a21a2dc8f89188b338ffd8101b444c53155ff9 (diff)
downloaddino-91c8c8eb491c91f50a221cf7efe7c96a34a5de6b.tar.gz
dino-91c8c8eb491c91f50a221cf7efe7c96a34a5de6b.zip
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
-rw-r--r--main/src/ui/notifier_freedesktop.vala2
1 files changed, 1 insertions, 1 deletions
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);