[shotwell] picasaweb: Request deprecation extension



commit 7b14029af8182ac1d5c811a433d5327f776cad20
Author: Jens Georg <mail jensge org>
Date:   Mon Jan 21 11:20:04 2019 +0100

    picasaweb: Request deprecation extension
    
    Fixes #101

 plugins/shotwell-publishing/PicasaPublishing.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/shotwell-publishing/PicasaPublishing.vala 
b/plugins/shotwell-publishing/PicasaPublishing.vala
index d72ce6d1..5fdbb747 100644
--- a/plugins/shotwell-publishing/PicasaPublishing.vala
+++ b/plugins/shotwell-publishing/PicasaPublishing.vala
@@ -391,6 +391,7 @@ internal class AlbumDirectoryTransaction :
 
     public AlbumDirectoryTransaction(Publishing.RESTSupport.GoogleSession session) {
         base(session, ENDPOINT_URL, Publishing.RESTSupport.HttpMethod.GET);
+        this.add_argument("deprecation-extension", "true");
     }
 
     public static string? validate_xml(Publishing.RESTSupport.XmlDocument doc) {
@@ -419,6 +420,7 @@ internal class UploadTransaction :
         this.session = session;
         this.parameters = parameters;
         this.publishable = publishable;
+        this.add_argument("deprecation-extension", "true");
         if (publishable.get_media_type() == Spit.Publishing.Publisher.MediaType.VIDEO) {
             try {
                 var info = 
this.publishable.get_serialized_file().query_info(FileAttribute.STANDARD_CONTENT_TYPE, 
FileQueryInfoFlags.NONE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]