[shotwell] piwigo: Fix title and coments on uploaded files
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] piwigo: Fix title and coments on uploaded files
- Date: Wed, 4 Jan 2017 11:54:29 +0000 (UTC)
commit 33b101fa36c685d24179a2f25aec91d0ae5102f6
Author: Jens Georg <mail jensge org>
Date: Wed Jan 4 12:45:42 2017 +0100
piwigo: Fix title and coments on uploaded files
Boolean is hard, part II.
Regression introduced by 9d2b698023366e95baddbb677118a50e27bd6e8e
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=776664
plugins/shotwell-publishing/PiwigoPublishing.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala
b/plugins/shotwell-publishing/PiwigoPublishing.vala
index ca07554..60219a6 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -1733,7 +1733,7 @@ private class ImagesAddTransaction : Publishing.RESTSupport.UploadTransaction {
string name = publishable.get_publishing_name();
string comment = publishable.get_param_string(
Spit.Publishing.Publishable.PARAM_STRING_COMMENT);
- if (name != "") {
+ if (name == null || name == "") {
name = publishable.get_param_string(
Spit.Publishing.Publishable.PARAM_STRING_BASENAME);
add_argument("name", name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]