summaryrefslogtreecommitdiff
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-18 11:23:29 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-18 12:35:28 +0200
commit04776cb50759931dde13c9bcfa0d200fd7c77a5a (patch)
treedbebee593f8bdd3b3aaea44741eece09e70b14a7 /libempathy-gtk
parente847711dccf8038c10a6652e5fce1b7a3a1ff294 (diff)
downloadempathy-04776cb50759931dde13c9bcfa0d200fd7c77a5a.tar.gz
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;
}