From 8bea4c9b68fcdb62879b603ba5c2914b6cd8c33a Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Tue, 26 Aug 2014 12:51:19 +0200 Subject: [PATCH 22/33] wizard: terminate event chain after the emergency analysis Resolves rhbz#1133549 Related to rhbz#1069917 Signed-off-by: Jakub Filak --- src/gui-wizard-gtk/wizard.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c index e4718bf..5779052 100644 --- a/src/gui-wizard-gtk/wizard.c +++ b/src/gui-wizard-gtk/wizard.c @@ -1752,6 +1752,16 @@ static bool event_need_review(const char *event_name) static void on_btn_failed_cb(GtkButton *button) { + /* Since the Repeat button has been introduced, the event chain isn't + * terminated upon a failure in order to be able to continue in processing + * in the retry action. + * + * Now, user decided to run the emergency analysis instead of trying to + * reconfigure libreport, so we have to terminate the event chain. + */ + gtk_widget_hide(g_btn_repeat); + terminate_event_chain(TERMINATE_NOFLAGS); + /* Show detailed log */ gtk_expander_set_expanded(g_exp_report_log, TRUE); -- 2.1.0