[PATCH] Picasa captions
- From: "Manuel J. Garrido" <manuel garrido gmail com>
- To: conduit-list gnome org
- Subject: [PATCH] Picasa captions
- Date: Sun, 04 May 2008 17:54:19 +0200
Hi. This small patch allows picasa to save and retrieve the captions of
the photos.
Index: conduit/modules/GoogleModule/GoogleModule.py
===================================================================
--- conduit/modules/GoogleModule/GoogleModule.py (revision: 1440)
+++ conduit/modules/GoogleModule/GoogleModule.py (working copy)
@@ -573,7 +573,7 @@
gphoto = self.pws.InsertPhotoSimple(
self.galbum,
uploadInfo.name,
- '',
+ uploadInfo.caption if uploadInfo.caption else '',
uploadInfo.url)
for tag in uploadInfo.tags:
self.pws.InsertTag(gphoto, str(tag))
@@ -640,6 +640,7 @@
f.set_open_URI(url)
f.set_UID(LUID)
f.set_tags(tags)
+ f.set_caption(gphoto.summary.text)
return f
def delete(self, LUID):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]