diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:09:43 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:09:43 +0200 |
commit | 694c7e47ece2cd322b0d2b57b88933a22d2734db (patch) | |
tree | c098b2104f1b76db60dd1f50de060c4439437fd8 /plugins/shotwell-publishing/PiwigoPublishing.vala | |
parent | 6824050190585821a13ce0f52d314986a25d6c2a (diff) | |
parent | b076314018e4b53d745823754a26eb6fb73a2801 (diff) |
Merge tag 'upstream/0.24.1'
Upstream version 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; |