aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-notify-manager.c
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 18:35:28 +0800
commit04776cb50759931dde13c9bcfa0d200fd7c77a5a (patch)
treedbebee593f8bdd3b3aaea44741eece09e70b14a7 /libempathy-gtk/empathy-notify-manager.c
parente847711dccf8038c10a6652e5fce1b7a3a1ff294 (diff)
downloadgsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.gz
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.bz2
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.lz
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.xz
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.zst
gsoc2013-empathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.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/empathy-notify-manager.c')
-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;
}