From 314099da03f70b841e0087e84a0cb2af893ed5df Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 5 Sep 2009 19:20:59 +0200 Subject: [PATCH] [sulfur] add some debugging output to abort queue button callback --- sulfur/src/sulfur/events.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sulfur/src/sulfur/events.py b/sulfur/src/sulfur/events.py index da13004d0..1b1cc7338 100644 --- a/sulfur/src/sulfur/events.py +++ b/sulfur/src/sulfur/events.py @@ -714,7 +714,10 @@ class SulfurApplicationEventsMixin: def on_abortQueue_clicked(self,widget): msg = _("You have chosen to interrupt the processing. Are you sure you want to do it ?") rc = questionDialog(self.ui.main, msg) - if rc: self.abortQueueNow = True + if rc: + if self.do_debug: + print "on_abortQueue_clicked: abort is now on" + self.abortQueueNow = True def on_search_clicked(self,widget): self.etpbase.set_filter(Filter.processFilters)