Skip to content

Commit

Permalink
wizard: terminate event chain after the emergency analysis
Browse files Browse the repository at this point in the history
Resolves rhbz#1133549
Related to rhbz#1069917

Signed-off-by: Jakub Filak <jfilak@redhat.com>
  • Loading branch information
Jakub Filak committed Aug 26, 2014
1 parent 1ed0116 commit 8bea4c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/gui-wizard-gtk/wizard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8bea4c9

Please sign in to comment.