f-spot r4068 - trunk/extensions/PicasaWebExport



Author: sdelcroix
Date: Mon Jun 16 13:00:35 2008
New Revision: 4068
URL: http://svn.gnome.org/viewvc/f-spot?rev=4068&view=rev

Log:
fixing a crash in a preview patch

Modified:
   trunk/extensions/PicasaWebExport/PicasaWebExport.addin.xml
   trunk/extensions/PicasaWebExport/PicasaWebExport.cs

Modified: trunk/extensions/PicasaWebExport/PicasaWebExport.addin.xml
==============================================================================
--- trunk/extensions/PicasaWebExport/PicasaWebExport.addin.xml	(original)
+++ trunk/extensions/PicasaWebExport/PicasaWebExport.addin.xml	Mon Jun 16 13:00:35 2008
@@ -1,5 +1,5 @@
 <Addin namespace="FSpot"
-	version="0.4.4.1"
+	version="0.4.4.2"
 	name="PicasaWeb Export"
 	description="This extension allows you to export your photos to PicasaWeb."
 	author="F-Spot team"

Modified: trunk/extensions/PicasaWebExport/PicasaWebExport.cs
==============================================================================
--- trunk/extensions/PicasaWebExport/PicasaWebExport.cs	(original)
+++ trunk/extensions/PicasaWebExport/PicasaWebExport.cs	Mon Jun 16 13:00:35 2008
@@ -673,6 +673,7 @@
 							approx_size = sent_bytes * items.Length / (photo_index - 1);
 	
 						picture = album.UploadPicture (request.Current.LocalPath, Path.ChangeExtension (item.Name, "jpg"), item.Description);
+						sent_bytes += file_info.Length;
 					}
 					if (Core.Database != null && item is Photo)
 						Core.Database.Exports.Create ((item as Photo).Id,
@@ -680,7 +681,6 @@
 									      ExportStore.PicasaExportType,
 									      picture.Link);
 
-					sent_bytes += file_info.Length;
 					//tagging
 					if (item.Tags != null && export_tag)
 						foreach (Tag tag in item.Tags)



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