aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-18 17:23:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-18 17:23:29 +0800
commitf127e56c1b1f27bf7b8be219e13a7c71ffdb63ec (patch)
tree694d59da7d7ead09b6069a6bcabe60c32c066519 /libempathy-gtk
parent64b7bd12aa298e080047cace1918d19098509b0a (diff)
downloadgsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar.gz
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar.bz2
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar.lz
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar.xz
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.tar.zst
gsoc2013-empathy-f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec.zip
empathy_notify_manager_notification_is_enabled: properly check the EMPATHY_PREFS_NOTIFICATIONS_DISABLED_AWAY preference
If this key is set, that means we do NOT want the notification when being away/busy.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-notify-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index d0e0aadec..803839755 100644
--- a/libempathy-gtk/empathy-notify-manager.c
+++ b/libempathy-gtk/empathy-notify-manager.c
@@ -207,7 +207,7 @@ empathy_notify_manager_notification_is_enabled (EmpathyNotifyManager *self)
if (presence != TP_CONNECTION_PRESENCE_TYPE_AVAILABLE &&
presence != TP_CONNECTION_PRESENCE_TYPE_UNSET)
{
- if (!g_settings_get_boolean (gsettings,
+ if (g_settings_get_boolean (gsettings,
EMPATHY_PREFS_NOTIFICATIONS_DISABLED_AWAY))
goto finally;
}