From c3b87b404d803e2eaa6bf179b2bb370c874ffa75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 25 May 2020 20:17:19 +0200 Subject: New upstream version 0.30.10 --- plugins/shotwell-publishing/PhotosPublisher.vala | 2 +- plugins/shotwell-publishing/YouTubePublishing.vala | 2 +- plugins/shotwell-publishing/youtube.png | Bin 1083 -> 560 bytes .../youtube_publishing_options_pane.ui | 28 +++++---------------- 4 files changed, 8 insertions(+), 24 deletions(-) (limited to 'plugins/shotwell-publishing') diff --git a/plugins/shotwell-publishing/PhotosPublisher.vala b/plugins/shotwell-publishing/PhotosPublisher.vala index ce5e505..5f46470 100644 --- a/plugins/shotwell-publishing/PhotosPublisher.vala +++ b/plugins/shotwell-publishing/PhotosPublisher.vala @@ -47,7 +47,7 @@ internal class PublishingParameters { return target_album_name; } - public void set_target_album_name(string target_album_name) { + public void set_target_album_name(string? target_album_name) { this.target_album_name = target_album_name; } diff --git a/plugins/shotwell-publishing/YouTubePublishing.vala b/plugins/shotwell-publishing/YouTubePublishing.vala index 87f1959..e50d17a 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.vala +++ b/plugins/shotwell-publishing/YouTubePublishing.vala @@ -99,7 +99,7 @@ internal class YouTubeAuthorizer : GData.Authorizer, Object { } public bool is_authorized_for_domain(GData.AuthorizationDomain domain) { - return true; + return domain.scope.has_suffix ("auth/youtube"); } public void process_request(GData.AuthorizationDomain? domain, diff --git a/plugins/shotwell-publishing/youtube.png b/plugins/shotwell-publishing/youtube.png index 214e1de..3793ff0 100644 Binary files a/plugins/shotwell-publishing/youtube.png and b/plugins/shotwell-publishing/youtube.png differ diff --git a/plugins/shotwell-publishing/youtube_publishing_options_pane.ui b/plugins/shotwell-publishing/youtube_publishing_options_pane.ui index cdf82af..47f75a1 100644 --- a/plugins/shotwell-publishing/youtube_publishing_options_pane.ui +++ b/plugins/shotwell-publishing/youtube_publishing_options_pane.ui @@ -1,6 +1,7 @@ - - + + + True False @@ -19,22 +20,7 @@ False True 4 - 1 - - - - - True - False - 8 - 64 - videos will appear in -(populated in the application code.) - - - False - True - 2 + 0 @@ -81,7 +67,7 @@ False True 4 - 3 + 1 @@ -97,7 +83,6 @@ _Logout - False True True True @@ -113,7 +98,6 @@ _Publish - False True True True @@ -130,7 +114,7 @@ False True - 4 + 2 -- cgit v1.2.3