gboolean empathy_notify_manager_has_capability (EmpathyNotifyManager *self,
const gchar *capa);
-gboolean empathy_notification_is_enabled (void);
+gboolean empathy_notify_manager_notification_is_enabled (
+ EmpathyNotifyManager *self);
GdkPixbuf * empathy_notify_manager_get_pixbuf_for_notification (
EmpathyNotifyManager *self,
EmpathyChatWindowPriv *priv = GET_PRIV (window);
gboolean res;
- if (!empathy_notification_is_enabled ()) {
+ if (!empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) {
return;
} else {
empathy_conf_get_bool (empathy_conf_get (),
EmpathyStatusIconPriv *priv = GET_PRIV (icon);
GdkPixbuf *pixbuf = NULL;
- if (!empathy_notification_is_enabled ()) {
+ if (!empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) {
/* always close the notification if this happens */
notification_close_helper (priv);
return;
return;
}
- if (empathy_notification_is_enabled ()) {
+ if (empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) {
status_icon_update_notification (icon);
}
status_icon_update_icon (icon);
status_icon_update_tooltip (icon);
- if (!empathy_notification_is_enabled ()) {
+ if (!empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) {
/* dismiss the outstanding notification if present */
if (priv->notification) {