diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-05-25 20:17:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-05-25 20:17:19 +0200 |
commit | c3b87b404d803e2eaa6bf179b2bb370c874ffa75 (patch) | |
tree | 057c19e3afcf8e79f25f66340ee666614e2978c4 /plugins/shotwell-publishing | |
parent | 959dc1b29b9d4dd9d3fc56c7759afc77788ec256 (diff) |
New upstream version 0.30.10upstream/0.30.10
Diffstat (limited to 'plugins/shotwell-publishing')
-rw-r--r-- | plugins/shotwell-publishing/PhotosPublisher.vala | 2 | ||||
-rw-r--r-- | plugins/shotwell-publishing/YouTubePublishing.vala | 2 | ||||
-rw-r--r-- | plugins/shotwell-publishing/youtube.png | bin | 1083 -> 560 bytes | |||
-rw-r--r-- | plugins/shotwell-publishing/youtube_publishing_options_pane.ui | 28 |
4 files changed, 8 insertions, 24 deletions
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 Binary files differindex 214e1de..3793ff0 100644 --- a/plugins/shotwell-publishing/youtube.png +++ b/plugins/shotwell-publishing/youtube.png 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 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> - <!-- interface-requires gtk+ 3.0 --> +<!-- Generated with glade 3.22.2 --> +<interface domain="shotwell"> + <requires lib="gtk+" version="3.22"/> <object class="GtkBox" id="youtube_pane_widget"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -19,22 +20,7 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="padding">4</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="publish_to_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_top">8</property> - <property name="margin_bottom">64</property> - <property name="label" comments="This string does not require translation and may be safely skipped.">videos will appear in -(populated in the application code.)</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> + <property name="position">0</property> </packing> </child> <child> @@ -81,7 +67,7 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="padding">4</property> - <property name="position">3</property> + <property name="position">1</property> </packing> </child> <child> @@ -97,7 +83,6 @@ <child> <object class="GtkButton" id="logout_button"> <property name="label" translatable="yes">_Logout</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -113,7 +98,6 @@ <child> <object class="GtkButton" id="publish_button"> <property name="label" translatable="yes">_Publish</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -130,7 +114,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">4</property> + <property name="position">2</property> </packing> </child> </object> |