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

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