+static gboolean
+notification_is_urgent (EmpathyNotificationsApprover *self,
+ NotifyNotification *notification)
+{
+ /* Mark as urgent all the notifications with which user should
+ * interact ASAP */
+ switch (self->priv->event->type) {
+ case EMPATHY_EVENT_TYPE_CHAT:
+ case EMPATHY_EVENT_TYPE_VOIP:
+ case EMPATHY_EVENT_TYPE_TRANSFER:
+ case EMPATHY_EVENT_TYPE_INVITATION:
+ case EMPATHY_EVENT_TYPE_AUTH:
+ return TRUE;
+
+ case EMPATHY_EVENT_TYPE_SUBSCRIPTION:
+ case EMPATHY_EVENT_TYPE_PRESENCE:
+ return FALSE;
+ }
+
+ return FALSE;
+}
+