Revert "Fixed Google Photos album names not appearing"

This reverts commit 4373ea2fd3.
This commit is contained in:
Andrei Sângeorzan 2017-04-05 22:27:05 +03:00
parent 4373ea2fd3
commit d443291085
2 changed files with 2 additions and 11 deletions

View file

@ -137,7 +137,6 @@ private NameValueCollection GetAuthHeaders()
{
NameValueCollection headers = new NameValueCollection();
headers.Add("Authorization", "Bearer " + AuthInfo.Token.access_token);
headers.Add("GData-Version", "3");
return headers;
}
@ -178,7 +177,7 @@ public List<PicasaAlbumInfo> GetAlbumList()
{
PicasaAlbumInfo album = new PicasaAlbumInfo();
album.ID = entry.GetElementValue(GPhotoNS + "id");
album.Name = entry.GetElementValue(AtomNS + "title");
album.Name = entry.GetElementValue(GPhotoNS + "name");
album.Summary = entry.GetElementValue(AtomNS + "summary");
albumList.Add(album);
}

View file

@ -1,19 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.12
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShareX", "ShareX\ShareX.csproj", "{C5AE4585-E9EC-4FA3-B75A-E1210635ACB6}"
ProjectSection(ProjectDependencies) = postProject
{E1C94415-3424-4517-A2A1-B2FDD1F59C67} = {E1C94415-3424-4517-A2A1-B2FDD1F59C67}
{E7DE6237-AEA2-498B-8F56-9B392472C490} = {E7DE6237-AEA2-498B-8F56-9B392472C490}
{750C6F46-2C5A-4488-81D3-3B35CA50F3EE} = {750C6F46-2C5A-4488-81D3-3B35CA50F3EE}
{1A190E53-1419-4CC2-B0E5-3BC7EA861C8B} = {1A190E53-1419-4CC2-B0E5-3BC7EA861C8B}
{254E398D-F7F5-4B2A-9024-5C121EA6C564} = {254E398D-F7F5-4B2A-9024-5C121EA6C564}
{DBDB0DAA-B3AE-4CC4-A8C2-20550B7F32E3} = {DBDB0DAA-B3AE-4CC4-A8C2-20550B7F32E3}
{D13441B6-96E1-4D1B-8A95-58A7D6CB1E24} = {D13441B6-96E1-4D1B-8A95-58A7D6CB1E24}
{327750E1-9FB7-4CC3-8AEA-9BC42180CAD3} = {327750E1-9FB7-4CC3-8AEA-9BC42180CAD3}
{CD642BF4-D815-4D67-A0B5-C69F0B8231AF} = {CD642BF4-D815-4D67-A0B5-C69F0B8231AF}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShareX.HistoryLib", "ShareX.HistoryLib\ShareX.HistoryLib.csproj", "{E7DE6237-AEA2-498B-8F56-9B392472C490}"