After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633548 - Add Google Drawings support
Add Google Drawings support
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: Google Documents service
git master
Other All
: Low enhancement
: Future
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-30 14:03 UTC by Philip Withnall
Modified: 2012-06-25 18:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
documents: add support for Google Drawings (13.38 KB, patch)
2012-06-23 17:36 UTC, Cosimo Cecchi
needs-work Details | Review
documents: add support for Google Drawings (16.84 KB, patch)
2012-06-25 13:47 UTC, Cosimo Cecchi
committed Details | Review

Comment 1 Cosimo Cecchi 2012-06-23 17:36:47 UTC
Created attachment 217091 [details] [review]
documents: add support for Google Drawings

Add a GDataDocumentsDocument subclass to handle drawing docs.
Comment 2 Philip Withnall 2012-06-24 08:21:49 UTC
Review of attachment 217091 [details] [review]:

This looks good, but a few minor things are missing.

The main SECTION documentation comment in gdata-documents-document.c needs updating to mention GDataDocumentsDrawing. Similarly, the documentation comment for GDataDocumentsEntry:resource-id also needs updating.

Code to handle drawings needs to be added to gdata_documents_service_finish_upload().

Once these are fixed, please commit to master. Thanks!

::: gdata/services/documents/gdata-documents-drawing.c
@@ +3,3 @@
+ * GData Client
+ * Copyright (C) Thibault Saunier 2009 <saunierthibault@gmail.com>
+ * Copyright (C) Philip Withnall 2010 <philip@tecnocode.co.uk>

You should probably add your name to the copyright.

@@ +30,3 @@
+ * <ulink type="http" url="https://developers.google.com/google-apps/documents-list/">online documentation</ulink>.
+ *
+ * Since: 0.13.2

This should be 0.13.1 (libgdata uses post-release version increments, and 0.13.1 hasn’t been released yet).
Comment 3 Cosimo Cecchi 2012-06-25 13:47:41 UTC
Created attachment 217201 [details] [review]
documents: add support for Google Drawings

---

Thanks Philip, I fixed your review comments in this updated patch.
Comment 4 Philip Withnall 2012-06-25 18:40:44 UTC
Review of attachment 217201 [details] [review]:

Great! Please commit to master.
Comment 5 Cosimo Cecchi 2012-06-25 18:48:18 UTC
Attachment 217201 [details] pushed as 09d594d - documents: add support for Google Drawings