aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:04 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:04 +0800
commitf1de7218621b82fe0622aa04f380445150af39fc (patch)
tree8f113ca2346c0838fd62dad8201971327263807c /src/empathy-status-icon.c
parentc23031cdb33273d6396657f93d5daa064b7d7cac (diff)
downloadgsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar.gz
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar.bz2
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar.lz
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar.xz
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.tar.zst
gsoc2013-empathy-f1de7218621b82fe0622aa04f380445150af39fc.zip
Move empathy_notification_is_enabled () to src/
svn path=/trunk/; revision=2294
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c7
1 files changed, 4 insertions, 3 deletions
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 <libempathy/empathy-debug.h>
@@ -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) {