summaryrefslogtreecommitdiff
path: root/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-04-28 16:45:36 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-28 16:45:36 +0200
commit6710aa856175300e598b23b701c0d2741f2cb6b3 (patch)
tree43987fa58a25c81413e68cddad697e6301c5936f /plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala
parent5e9f4eea451a77ba3b93db3747841ed2bd969e9f (diff)
New upstream version 0.30.4upstream/0.30.4
Diffstat (limited to 'plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala')
-rw-r--r--plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala b/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala
index 0d813ac..36fb290 100644
--- a/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala
+++ b/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala
@@ -14,9 +14,9 @@ namespace Publishing.Authenticator {
var list = new Gee.ArrayList<string>();
list.add("flickr");
list.add("facebook");
- list.add("picasa");
list.add("youtube");
list.add("tumblr");
+ list.add("google-photos");
return list;
}
@@ -28,14 +28,13 @@ namespace Publishing.Authenticator {
return new Shotwell.Flickr.Flickr(host);
case "facebook":
return new Shotwell.Facebook.Facebook(host);
- case "picasa":
- return new Shotwell.Google.Google("https://picasaweb.google.com/data/", _("You are not currently logged into Picasa Web Albums.\n\nClick Log in to log into Picasa Web Albums in your Web browser. You will have to authorize Shotwell Connect to link to your Picasa Web Albums account."), host);
-
case "youtube":
return new Shotwell.Google.Google("https://gdata.youtube.com/", _("You are not currently logged into YouTube.\n\nYou must have already signed up for a Google account and set it up for use with YouTube to continue. You can set up most accounts by using your browser to log into the YouTube site at least once."), host);
case "tumblr":
return new Shotwell.Tumblr.Tumblr(host);
- default:
+ case "google-photos":
+ return new Shotwell.Google.Google("https://www.googleapis.com/auth/photoslibrary", _("You are not currently logged into Google Photos.\n\nYou must have already signed up for a Google account and set it up for use with Google Photos.\n\nYou will have to authorize Shotwell to link to your Google Photos account."), host);
+ default:
return null;
}
}