[gnome-online-accounts/gnome-3-10] live: Does not update MailEnabled



commit f6e784a7fdb96ec6e3e89490a32670cbfff60f64
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Nov 7 10:32:06 2013 -0500

    live: Does not update MailEnabled
    
    Fixes: https://bugzilla.gnome.org/711472

 src/goabackend/goawindowsliveprovider.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index f5b7d1a..298af62 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -404,10 +404,15 @@ build_object (GoaProvider         *provider,
 
   if (just_added)
     {
+      goa_account_set_mail_disabled (account, !mail_enabled);
       goa_account_set_chat_disabled (account, !chat_enabled);
       goa_account_set_documents_disabled (account, !documents_enabled);
 
       g_signal_connect (account,
+                        "notify::mail-disabled",
+                        G_CALLBACK (goa_util_account_notify_property_cb),
+                        "MailEnabled");
+      g_signal_connect (account,
                         "notify::chat-disabled",
                         G_CALLBACK (goa_util_account_notify_property_cb),
                         "ChatEnabled");


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