[libgdata] goa-authorizer: Add domains for documents if "files" is on
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] goa-authorizer: Add domains for documents if "files" is on
- Date: Wed, 1 Jul 2015 14:24:39 +0000 (UTC)
commit e76c6257448c826a249f8315cb20a5cd5dd06090
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jul 1 15:26:34 2015 +0200
goa-authorizer: Add domains for documents if "files" is on
The new gvfs backend will enable nautilus and the gtk+ file chooser to
interact with Google Drive. This means that GOA accounts in Google
will get a "files" switch, which we should check when deciding whether
to enable the documents service.
https://bugzilla.gnome.org/show_bug.cgi?id=751782
gdata/gdata-goa-authorizer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/gdata-goa-authorizer.c b/gdata/gdata-goa-authorizer.c
index 1e38268..e704c98 100644
--- a/gdata/gdata-goa-authorizer.c
+++ b/gdata/gdata-goa-authorizer.c
@@ -384,7 +384,7 @@ gdata_goa_authorizer_set_goa_object (GDataGoaAuthorizer *self, GoaObject *goa_ob
add_authorization_domains (self, GDATA_TYPE_CONTACTS_SERVICE);
}
- if (goa_object_peek_documents (goa_object) != NULL) {
+ if (goa_object_peek_documents (goa_object) != NULL || goa_object_peek_files (goa_object) != NULL) {
add_authorization_domains (self, GDATA_TYPE_DOCUMENTS_SERVICE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]