aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c2
-rw-r--r--src/empathy-status-icon.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index fc64d340f..4d99afd31 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1080,7 +1080,7 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
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 (),
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 76c549ebb..1b0abdc39 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -147,7 +147,7 @@ status_icon_update_notification (EmpathyStatusIcon *icon)
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;
@@ -331,7 +331,7 @@ status_icon_event_updated_cb (EmpathyEventManager *manager,
return;
}
- if (empathy_notification_is_enabled ()) {
+ if (empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) {
status_icon_update_notification (icon);
}
@@ -388,7 +388,7 @@ status_icon_idle_notify_cb (EmpathyStatusIcon *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) {