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:
  Show dependency tree
 
Reported: 2010-10-30 14:03 UTC by Philip Withnall
Modified: 2012-06-25 18:48 UTC (History)
3 users (show)

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 | Diff | Review
documents: add support for Google Drawings (16.84 KB, patch)
2012-06-25 13:47 UTC, Cosimo Cecchi
committed Details | Diff | 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

Note You need to log in before you can comment on or make changes to this bug.