[evolution-data-server] Google address book backend opened read-only



commit 3e4d6da299332a8fd1f40ee1f3d2b82cb19aa376
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 10 19:20:53 2015 +0100

    Google address book backend opened read-only
    
    The password-based Google address book was opened read-only, because
    of an incorrect check whether the password was accepted.

 .../backends/google/e-book-backend-google.c        |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/backends/google/e-book-backend-google.c 
b/addressbook/backends/google/e-book-backend-google.c
index 7f4d29b..6cdf0e9 100644
--- a/addressbook/backends/google/e-book-backend-google.c
+++ b/addressbook/backends/google/e-book-backend-google.c
@@ -2357,8 +2357,7 @@ book_backend_google_authenticate_sync (EBackend *backend,
                user, e_named_parameters_get (credentials, E_SOURCE_CREDENTIAL_PASSWORD), cancellable, 
&local_error)) {
                EBookBackend *book_backend = E_BOOK_BACKEND (backend);
 
-               if (gdata_authorizer_refresh_authorization (priv->authorizer, cancellable, &local_error) &&
-                   backend_is_authorized (book_backend)) {
+               if (backend_is_authorized (book_backend)) {
                        e_book_backend_set_writable (book_backend, TRUE);
                        cache_refresh_if_needed (book_backend);
                }


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