Author: thomasvm
Date: 2007-01-05 01:37:39 -0500 (Fri, 05 Jan 2007)
New Revision: 70523
Modified:
trunk/smugmug-sharp/ChangeLog
trunk/smugmug-sharp/src/Mono.SmugMug/ImageInfo.cs
Log:
Fix album id property on image info
Modified: trunk/smugmug-sharp/ChangeLog
===================================================================
--- trunk/smugmug-sharp/ChangeLog 2007-01-05 06:15:51 UTC (rev 70522)
+++ trunk/smugmug-sharp/ChangeLog 2007-01-05 06:37:39 UTC (rev 70523)
@@ -1,3 +1,6 @@
+2007-01-05 Thomas Van Machelen <[EMAIL PROTECTED]>
+ * src/Mono.SmugMug/ImageInfo.cs: fix the album id property
+
2007-01-04 Thomas Van Machelen <[EMAIL PROTECTED]>
* src/Mono.SmugMug/Album.cs: enhance the upload method
* src/Mono.SmugMug/SmugMugUtil.cs: fix the status check on the
Modified: trunk/smugmug-sharp/src/Mono.SmugMug/ImageInfo.cs
===================================================================
--- trunk/smugmug-sharp/src/Mono.SmugMug/ImageInfo.cs 2007-01-05 06:15:51 UTC
(rev 70522)
+++ trunk/smugmug-sharp/src/Mono.SmugMug/ImageInfo.cs 2007-01-05 06:37:39 UTC
(rev 70523)
@@ -12,7 +12,13 @@
[Serializable]
public class ImageInfo {
- public int AlbumID;
+ [XmlElement ("Album", Form = XmlSchemaForm.Unqualified)]
+ public Album album;
+
+ public int AlbumID {
+ get { return album.AlbumID; }
+ }
+
public string Caption;
public int Position;
public int Serial;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches