f-spot r4244 - trunk/extensions/GalleryExport
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4244 - trunk/extensions/GalleryExport
- Date: Tue, 12 Aug 2008 13:14:32 +0000 (UTC)
Author: sdelcroix
Date: Tue Aug 12 13:14:32 2008
New Revision: 4244
URL: http://svn.gnome.org/viewvc/f-spot?rev=4244&view=rev
Log:
patch from pmjdebruijn for bgo #543863
Modified:
trunk/extensions/GalleryExport/GalleryExport.addin.xml
trunk/extensions/GalleryExport/GalleryRemote.cs
Modified: trunk/extensions/GalleryExport/GalleryExport.addin.xml
==============================================================================
--- trunk/extensions/GalleryExport/GalleryExport.addin.xml (original)
+++ trunk/extensions/GalleryExport/GalleryExport.addin.xml Tue Aug 12 13:14:32 2008
@@ -1,5 +1,5 @@
<Addin namespace="FSpot"
- version="0.4.4.100"
+ version="0.4.4.101"
name="Gallery Export"
description="This extension allows you to export your photos to PHP Gallery (http://gallery.menalto.com)."
author="F-Spot team"
Modified: trunk/extensions/GalleryExport/GalleryRemote.cs
==============================================================================
--- trunk/extensions/GalleryExport/GalleryRemote.cs (original)
+++ trunk/extensions/GalleryExport/GalleryRemote.cs Tue Aug 12 13:14:32 2008
@@ -95,6 +95,7 @@
return gallery.AddItem (this,
path,
Path.GetFileName (item.DefaultVersionUri.LocalPath),
+ item.Name,
item.Description,
true);
}
@@ -286,7 +287,7 @@
public abstract ArrayList FetchAlbums ();
public abstract ArrayList FetchAlbumsPrune ();
public abstract bool MoveAlbum (Album album, string end_name);
- public abstract int AddItem (Album album, string path, string filename, string caption, bool autorotate);
+ public abstract int AddItem (Album album, string path, string filename, string caption, string description, bool autorotate);
//public abstract Album AlbumProperties (string album);
public abstract bool NewAlbum (string parent_name, string name, string title, string description);
public abstract ArrayList FetchAlbumImages (Album album, bool include_ablums);
@@ -749,6 +750,7 @@
string path,
string filename,
string caption,
+ string description,
bool autorotate)
{
FormClient client = new FormClient (cookies);
@@ -761,6 +763,7 @@
client.Add ("force_filename", filename);
client.Add ("auto_rotate", autorotate ? "yes" : "no");
client.Add ("userfile", new FileInfo (path));
+ client.Add ("extrafield.Description", description);
client.expect_continue = expect_continue;
return ParseAddItem (client.Submit (uri, Progress));
@@ -966,6 +969,7 @@
string path,
string filename,
string caption,
+ string description,
bool autorotate)
{
FormClient client = new FormClient (cookies);
@@ -977,6 +981,7 @@
client.Add ("g2_form[userfile_name]", filename);
client.Add ("g2_form[force_filename]", filename);
client.Add ("g2_form[auto_rotate]", autorotate ? "yes" : "no");
+ client.Add ("g2_form[extrafield.Description]", description);
client.Add ("g2_userfile", new FileInfo (path));
client.expect_continue = expect_continue;
AddG2Specific (client);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]