]> git.0d.be Git - empathy.git/commitdiff
empathy_notify_manager_notification_is_enabled: properly check the EMPATHY_PREFS_NOTI...
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 Oct 2010 09:23:29 +0000 (11:23 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 Oct 2010 09:23:29 +0000 (11:23 +0200)
If this key is set, that means we do NOT want the notification when being
away/busy.

libempathy-gtk/empathy-notify-manager.c

index d0e0aadecf1aa62ba4500324df9a706097b91373..80383975545a990e41050f6b232ba04f6894425e 100644 (file)
@@ -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;
     }