mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
notifier: Add notification category
This helps shells to adjust the kind of haptic/visual/audio feedback for the notification.
This commit is contained in:
parent
36ec623098
commit
a1fa33c7af
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ notify (CallsNotifier *self, CallsCall *call)
|
|||
const char *number;
|
||||
gboolean got_number;
|
||||
|
||||
#if GLIB_CHECK_VERSION(2,70,0)
|
||||
g_notification_set_category (notification, "x-gnome.call.unanswered");
|
||||
#endif
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue