[shotwell] piwigo: Fix creation of new albums



commit 0b56e8c667739120eba0eeee74cf7d2bbc4b5447
Author: Jens Georg <mail jensge org>
Date:   Sun Oct 9 18:42:17 2016 +0200

    piwigo: Fix creation of new albums
    
    Boolean is hard, to many states. Regression introduced by
    9d2b698023366e95baddbb677118a50e27bd6e8e
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772648

 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 4d92917..0b98f05 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -1404,7 +1404,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
             !(
                 create_new_radio.get_active() &&
                 (
-                    category_name != "" ||
+                    category_name == "" ||
                     category_already_exists(search_name)
                 )
             )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]