diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:08:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:08:19 +0200 |
commit | b076314018e4b53d745823754a26eb6fb73a2801 (patch) | |
tree | a834cd64830068f988fda00b25578578ee096363 /plugins/shotwell-publishing/PiwigoPublishing.vala | |
parent | b67c4ba420286470899a63ff8b2fbbfdc17d082c (diff) |
New upstream version 0.24.1upstream/0.24.1
Diffstat (limited to 'plugins/shotwell-publishing/PiwigoPublishing.vala')
-rw-r--r-- | plugins/shotwell-publishing/PiwigoPublishing.vala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala b/plugins/shotwell-publishing/PiwigoPublishing.vala index c3a1bd0..63623ea 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.vala +++ b/plugins/shotwell-publishing/PiwigoPublishing.vala @@ -1309,7 +1309,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object { !( create_new_radio.get_active() && ( - category_name != "" || + category_name == "" || category_already_exists(search_name) ) ) @@ -1342,8 +1342,12 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object { bool isfirst = true; if (publishables != null) { foreach (Spit.Publishing.Publishable pub in publishables) { - string cur = pub.get_param_string( + string? cur = pub.get_param_string( Spit.Publishing.Publishable.PARAM_STRING_EVENTCOMMENT); + if (cur == null) { + continue; + } + if (isfirst) { common = cur; isfirst = false; |