[empathy: 1/2] empathy_notify_manager_notification_is_enabled: properly check the EMPATHY_PREFS_NOTIFICATIONS_DISAB



commit f127e56c1b1f27bf7b8be219e13a7c71ffdb63ec
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Oct 18 11:23:29 2010 +0200

    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.

 libempathy-gtk/empathy-notify-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index d0e0aad..8038397 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;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]