Blame SOURCES/0053-wizard-terminate-event-chain-after-the-emergency-ana.patch

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