notifier: Add notification category
This helps shells to adjust the kind of haptic/visual/audio feedback for the notification.
This commit is contained in:
committed by
Evangelos Ribeiro Tzaras
parent
36ec623098
commit
a1fa33c7af
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user