Commit ba2a8e0f authored by Guido Gunther's avatar Guido Gunther
Browse files

notifier: Add notification category

parent aa7c6b1f
Pipeline #69964 failed with stages
in 4 minutes and 56 seconds
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Mon, 2 Aug 2021 12:22:01 +0200
Subject: notifier: Add notification category
This helps shells to adjust the kind of haptic/visual/audio
feedback for the notification.
This is basically a1fa33c7afb1fbfdfd37b3a57333cbe719380024 with
the version check removed.
---
src/calls-notifier.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/calls-notifier.c b/src/calls-notifier.c
index 89d98fc..5c578b0 100644
--- a/src/calls-notifier.c
+++ b/src/calls-notifier.c
@@ -52,6 +52,7 @@ notify (CallsNotifier *self, CallsCall *call)
const char *number;
gboolean got_number;
+ g_notification_set_category (notification, "x-gnome.call.unanswered");
contact = calls_call_get_contact (call);
// TODO: We need to update the notification when the contact name changes
name = calls_best_match_get_name (contact);
notifier-Add-notification-category.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment