From f1de7218621b82fe0622aa04f380445150af39fc Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:08:04 +0000 Subject: Move empathy_notification_is_enabled () to src/ svn path=/trunk/; revision=2294 --- src/empathy-status-icon.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/empathy-status-icon.c') diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 08293de55..07f8abf85 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -43,6 +43,7 @@ #include "empathy-status-icon.h" #include "empathy-preferences.h" #include "empathy-event-manager.h" +#include "empathy-misc.h" #define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER #include @@ -225,7 +226,7 @@ status_icon_event_added_cb (EmpathyEventManager *manager, status_icon_update_icon (icon); status_icon_update_tooltip (icon); - if (empathy_notification_should_show (FALSE)) { + if (empathy_notification_is_enabled ()) { status_icon_update_notification (icon); } @@ -274,7 +275,7 @@ status_icon_event_updated_cb (EmpathyEventManager *manager, return; } - if (empathy_notification_should_show (FALSE)) { + if (empathy_notification_is_enabled ()) { status_icon_update_notification (icon); } @@ -342,7 +343,7 @@ status_icon_idle_notify_cb (EmpathyStatusIcon *icon) status_icon_update_icon (icon); status_icon_update_tooltip (icon); - if (!empathy_notification_should_show (FALSE)) { + if (!empathy_notification_is_enabled ()) { /* dismiss the outstanding notification if present */ if (priv->notification) { -- cgit v1.2.3