[empathy/gnome-2-32] empathy_notify_manager_notification_is_enabled: properly check the EMPATHY_PREFS_NOTIFICATIONS_DISAB
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-32] empathy_notify_manager_notification_is_enabled: properly check the EMPATHY_PREFS_NOTIFICATIONS_DISAB
- Date: Mon, 18 Oct 2010 10:35:42 +0000 (UTC)
commit 04776cb50759931dde13c9bcfa0d200fd7c77a5a
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]