Bug 658911 - google: Always readonly addressbooks with goa
authorAlexander Larsson <alexl@redhat.com>
Tue, 13 Sep 2011 14:06:45 +0000 (10:06 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 13 Sep 2011 14:06:45 +0000 (10:06 -0400)
addressbook/backends/google/e-book-backend-google.c

index b84d1df..ccee9de 100644 (file)
@@ -2224,8 +2224,10 @@ e_book_backend_google_open (EBookBackend *backend,
 #endif
        }
 
-       if (!priv->is_online || backend_is_authorized (backend))
+       if (!priv->is_online || backend_is_authorized (backend)) {
+               e_book_backend_notify_readonly (backend, FALSE);
                e_book_backend_notify_opened (backend, NULL /* Success */);
+       }
 
        e_data_book_respond_open (book, opid, NULL /* Success */);
 }