You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
5 years ago
|
From 12b5ce27389c9adc3c3fdfb82a66b849954f8712 Mon Sep 17 00:00:00 2001
|
||
|
From: Jakub Filak <jfilak@redhat.com>
|
||
|
Date: Tue, 26 Aug 2014 12:51:19 +0200
|
||
|
Subject: [LIBREPORT PATCH 53/93] wizard: terminate event chain after the
|
||
|
emergency analysis
|
||
|
|
||
|
Resolves rhbz#1133549
|
||
|
Related to rhbz#1069917
|
||
|
|
||
|
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||
|
---
|
||
|
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 d62ac04..caae1d2 100644
|
||
|
--- a/src/gui-wizard-gtk/wizard.c
|
||
|
+++ b/src/gui-wizard-gtk/wizard.c
|
||
|
@@ -1790,6 +1790,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);
|
||
|
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|