[shotwell/wip/phako/misc-fixes: 6/8] piwigo: Don't show success pane when not running
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/misc-fixes: 6/8] piwigo: Don't show success pane when not running
- Date: Wed, 12 Sep 2018 11:55:03 +0000 (UTC)
commit f1c59f0f439b1ed389870f0a05e76a32cbfd9250
Author: Jens Georg <mail jensge org>
Date: Fri Sep 7 19:10:21 2018 +0200
piwigo: Don't show success pane when not running
Fixes showing empty dialog pane and lots of criticals on the console
plugins/shotwell-publishing/PiwigoPublishing.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala
b/plugins/shotwell-publishing/PiwigoPublishing.vala
index fcd0aeee..649f1358 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -864,6 +864,9 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object {
// TODO: should a message be displayed to the user if num_published is zero?
+ if (!is_running())
+ return;
+
do_show_success_pane();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]