"accept", _("Accept"),
(NotifyActionCallback) notification_accept_subscription_cb,
self, NULL);
+ break;
+
+ case EMPATHY_EVENT_TYPE_AUTH:
+ notify_notification_add_action (notification,
+ "provide", _("Provide"), (NotifyActionCallback) notification_approve_cb,
+ self, NULL);
+ break;
default:
break;
if (self->priv->event != NULL)
return;
- if (event->type == EMPATHY_EVENT_TYPE_AUTH)
- return;
-
self->priv->event = event;
update_notification (self);
if (event != self->priv->event)
return;
- if (event->type == EMPATHY_EVENT_TYPE_AUTH)
- return;
-
self->priv->event = empathy_event_manager_get_top_event (
self->priv->event_mgr);
if (event != self->priv->event)
return;
- if (event->type == EMPATHY_EVENT_TYPE_AUTH)
- return;
-
if (empathy_notify_manager_notification_is_enabled (self->priv->notify_mgr))
update_notification (self);
}